Final answer:
The sun and planets formed from the condensation and accretion of a cloud of gas and dust called the solar nebula. This cloud collapsed under its own gravity, causing it to flatten into a disk. The central part of the disk became the Sun, while the solid particles in the cooler outer regions of the disk condensed to form planetesimals, which eventually became the building blocks of the planets and moons.
Step-by-step explanation:
The sun and planets formed from the condensation and accretion of a cloud of gas and dust called the solar nebula. This cloud collapsed under its own gravity, causing it to flatten into a disk.
The central part of the disk became the Sun, while the solid particles in the cooler outer regions of the disk condensed to form planetesimals, which eventually became the building blocks of the planets and moons.