The Solar System is a gravitationally bound system consisting of the Sun and all celestial objects that orbit it, including planets, moons, asteroids, comets, and dwarf planets. It formed approximately 4.6 billion years ago from the gravitational collapse of a giant molecular cloud. The Sun, a G-type main-sequence star, dominates the Solar System, accounting for more than 99% of its mass.