The solar system is a gravitationally bound system comprising the Sun—a G-type main-sequence star containing >99.8% of the system's mass—and all objects orbiting it, including eight major planets, hundreds of moons, dwarf planets, and millions of asteroid