what is a earth. how are make the sun
Hey
Billion of years ago, there was no solar system it was dust and gas particles floating in the space, once a star exploded ( supernova) that created gas particles which collapsed due to high forces of gravity and so it formed into a solar nebula, wherein a huge spinning like ring structure with particles revolving around in the ring.
Gradually the center part started evolving and a hot nucleus like Sun was formed wherein the particles in the ring started condensing and collapsing to form solid and huge rocks. Slowly the solid rocks started cooling and the one of the rock became Earth and others were the planet of Solar System, some rings couldn't form a rock structure but a gaseous giant like Jupiter. This happened around 4.5-5 billion years ago.