1. The sun exerts a gravitational pull on all planets whereas the tendency of the planets is to move away from the sun.
2. As a result of these two forces, a planet keeps revolving around the sun at fixed distance, in a fixed orbit.
3. In this way the satellites revolve around their planets.