Planets orbit the sun in the paths which are known as elliptical orbit. Each planet has its own orbit around the sun and direction in which all the planets orbit around the sun are the same. These orbits were well explained by the astronomer Kepler. The gravity of the Sun keeps the planets in their orbits. They stay in their orbits because there is no other force in the Solar System which can stop them.