Here's why:
* Gravity: The Sun's massive size and gravitational pull are strong enough to keep Earth in its orbit.
* Centripetal Force: Earth's orbital motion creates a centripetal force that balances the Sun's gravitational pull, preventing Earth from falling into the Sun.
* Elliptical Orbit: Earth's orbit isn't perfectly circular, but slightly elliptical. This means that Earth's distance from the Sun varies slightly throughout the year.
So, Earth is constantly moving around the Sun in a specific path, not just floating in space.