Gravity is a force that acts between objects that have mass. Gravity holds the Earth and other planets in orbit around the Sun. The amount of gravity depends on how much mass there is in an object.
Gravity is what keeps things moving around other objects, like planets orbiting stars. The sun’s gravity causes objects to orbit it, keeping them from flying away into space. It also keeps them from crashing into each other.
The planets orbit the sun because they are attracted to the sun’s gravitThe sun has more mass than any other object in our Solar System, so it has the greatest gravitational pull on everything else in our solar system. That’s why all of the planets, comets, asteroids and other objects orbit around it.
As a planet moves closer to the sun, it feels this gravitational pull more strongly because it’s closer to the center of gravity for that solar system. This means that it will move faster as it moves inward toward the sun, but then slow down as it moves away from it again; this happens because of conservation of angular momentum (which means that an object will keep rotating at the same rate unless something changes).