Here's how it works:
* The Sun's Mass: The Sun is incredibly massive, meaning it has a strong gravitational pull.
* Gravitational Attraction: Gravity is a force of attraction between any two objects with mass. The more massive an object is, the stronger its gravitational pull.
* Centripetal Force: Planets are constantly moving, and their motion is influenced by the Sun's gravity. This gravitational pull acts as a centripetal force, pulling the planets towards the Sun, preventing them from flying off in a straight line.
* Balance: The planet's forward motion (inertia) and the Sun's gravitational pull create a delicate balance. The planet's velocity is just right so that it constantly falls towards the Sun, but never actually hits it. It continues orbiting in an elliptical path.
It's like a ball on a string:
* The string is the Sun's gravity.
* The ball is the planet.
* The force of the string keeps the ball from flying off in a straight line.
This is a simplified explanation, but it captures the basic principle of how gravity keeps planets in orbit around the Sun.