The solar system consists of eight planets that revolve around the sun. The position of these eight planets is decided as per their distance from the sun.