gravity can keeps moons in orbit around their planets