Gravity, as an attractive force, keeps planets in orbit around stars like the Sun.
Gravity, the attractive force between all masses, is what keeps the planets in orbit. Newton's universal law of gravitation relates the gravitational force to mass and distance. Earth's gravity pulls the Moon toward Earth's center, preventing it from floating off into space.
https://brainly.com/question/36914932