Our solar system consists of the Sun and everything that orbits it, including 8 planets, over 100 moons, asteroids, comets, and other small bodies. The inner planets closest to the Sun are rocky and smaller, while the outer planets are large gas giants. The planets range greatly in size from the largest, Jupiter, to the smallest, Mercury.