The solar system formed approximately 4.6 billion years ago around the Sun. It consists of eight planets in orbit around the Sun: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune. The inner planets are Mercury, Venus, Earth, and Mars. The outer planets are Jupiter, Saturn, Uranus, and Neptune. The planets vary in size, composition, and other properties depending on their position in the solar system relative to the Sun.