Here's how it works:
* Gravity is a force of attraction between any two objects with mass. The more massive the objects, the stronger the gravitational pull. The closer the objects, the stronger the pull.
* The Sun is much more massive than the planets in our solar system. This creates a strong gravitational pull from the Sun that keeps the planets in their orbits.
* Planets are constantly moving at a high speed. This forward motion, combined with the Sun's gravitational pull, creates a balance that keeps the planets in a circular or elliptical path around the Sun.
Think of it like a ball on a string. The string represents the Sun's gravity, and the ball represents a planet. The faster the ball spins, the tighter the string needs to be to keep it in a circular path.