Earth is the third planet from the Sun , and the fifth-largest of the eight planets in the Solar System .
Mercury is one of four terrestrial planets in the Solar System , and is a rocky body like the Earth .