The Solar System is a gravitationally bound system comprising the Sun and the objects that orbit it, including eight planets, their moons, dwarf planets, asteroids, comets, and meteoroids. It formed about 4.6 billion years ago from the gravitational collapse of a giant molecular cloud.