The Solar System is the Sun and everything gravitationally bound to it, including eight planets, their moons, dwarf planets, asteroids, comets, and interplanetary dust and gas, all located within the Milky Way Galaxy. The system formed approximately 4.6 billion years ago from the collapse of a molecular cloud, resulting in the Sun at the center and a disc of material from which the other bodies formed.