Here's how it works:
* The Sun's Mass: The sun is incredibly massive, meaning it has a strong gravitational pull.
* Attraction: This pull attracts the planets towards the sun.
* Orbital Motion: The planets are also moving forward at a significant speed. This forward motion and the sun's gravitational pull combine to create a circular or elliptical orbit.
Think of it like a ball on a string. The ball wants to fly off in a straight line, but the string pulls it back towards the center. The sun's gravity is like the string, keeping the planets in their orbits.