Here's why:
* Inner planets: These are the planets closest to the Sun: Mercury, Venus, Earth, and Mars. They are all rocky planets.
* Outer planets: These are the planets further from the Sun: Jupiter, Saturn, Uranus, and Neptune. They are all gas giants.
Jupiter is a gas giant, making it one of the outer planets.