Here's how it works:
* The Sun's Gravity: The Sun's massive size creates a strong gravitational pull. This pull is what draws the comet towards it.
* Comet's Velocity: Comets also possess a significant amount of velocity, moving very fast. This velocity keeps them from falling directly into the Sun.
* Balance: The combination of the Sun's gravitational pull and the comet's velocity results in a balanced force that keeps the comet in an elliptical orbit around the Sun.
Think of it like a ball on a string. The string represents the Sun's gravitational pull, and the ball's motion represents the comet's velocity. The ball doesn't fall straight down because the string keeps it moving in a circle. Similarly, the comet doesn't fall into the Sun because the Sun's gravity keeps it in its orbital path.