Here's why:
* Gravity's Strength: While the Sun is much farther away from the Earth and Moon than the Moon is from the Earth, the Sun's massive size means its gravitational pull is much stronger.
* Centripetal Force: The Earth and Moon are constantly falling towards the Sun, but they also have a tangential velocity (motion sideways). This creates a balance, resulting in an orbital path around the Sun.
Think of it like this: Imagine you swing a ball on a string. The string represents gravity, and the ball represents the Earth and Moon. The faster you swing the ball, the less likely it is to fall to the ground (the Sun). The Earth and Moon are constantly "falling" towards the Sun, but their sideways motion prevents them from actually hitting it.
Key takeaway: The Earth and Moon orbit the Sun because the Sun's gravity is the dominant force, despite the Moon's closer proximity to the Earth.