About 4.6 billion years ago, an enormous 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 at the disk’s center to form the sun, and part of the solar nebula’s remaining gas and dust condensed to form the planets and the rest of our solar system.