Here's why:
* Inner Planets: The inner planets are the four closest to the sun: Mercury, Venus, Earth, and Mars.
* Outer Planets: The outer planets are the four gas giants: Jupiter, Saturn, Uranus, and Neptune.
Mercury is the closest planet to the sun, making it part of the inner solar system.