Answer:
solar Nebula and planetesimals
Step-by-step explanation:
About 4.6 billion years ago, a huge cloud of hydrogen gas and dust collapsed under its own weight, eventually flattening into a disk called the solar nebula. Most of this interstellar material contracted in the center of the disk to form the sun, and some of the gas and dust remaining in this solar nebula condensed to form the planets and the rest of our solar system. In short, a solar nebula is a cloud of gas, dust, ice, debris.
The best theory for the formation of the Solar System and, by extension, other planetary systems, says that the remnants of the Sun's formation eventually condensed to form the planets, the protoplanetary disk - a fine interstellar dust that gradually coalesced and joining debris and ice in ever larger and more massive bodies called planetesimals. This growth produced asteroid-sized bodies that, by the same process of collision and agglutination, gave rise to the planets.