For example, the Earth's moon is kept in orbit by the gravitational pull from the Earth. This is also the way the Earth is attracted to the Sun, and stays in its orbit. The orbit of the Earth's moon actually causes the tides and waves on Earth.