The Solar System is primarily composed of the Sun, planets, moons, dwarf planets, and small Solar System bodies such as asteroids and comets. The eight planets are divided into two categories: terrestrial planets (Mercury, Venus, Earth, and Mars) and gas giants (Jupiter, Saturn, Uranus, and Neptune).