what are stars and planets made of
Earth and the other three inner planets of our solar system (Mercury, Venus and Mars) are made of rock, containing common minerals like feldspars and metals like magnesium and aluminum. So is Pluto. The other planets are not solid. Jupiter, for instance, is made up mostly of trapped helium, hydrogen, and water. In our solar system, the four gas giants are Jupiter, Saturn, Neptune, and Uranus. Planets with their relative sizes to scale. The tiny bluish dot at the lower left is Earth.
Basically, stars are big exploding balls of gas, mostly hydrogen and helium. Our nearest star, the Sun, is so hot that the huge amount of hydrogen is undergoing a constant star-wide nuclear reaction, like in a hydrogen bomb.