We know that our solar system formed during the Sun’s youth, when it still had a protoplanetary disk. Such a disk contains gas and dust left over from the star’s formation, and over time the planets coalesced from that material. We can see such protoplanetary disks today around young stars, such as those forming in the Orion nebula.