Here's why:
* Gravity: The Earth's gravity is much stronger on the moon than the sun's gravity. This is because the moon is much closer to Earth.
* Earth's Orbit: The Earth, along with the moon, orbits the sun. So, while the moon revolves around Earth, they both travel together around the sun.
Think of it like this: Imagine you're holding a ball on a string and you're walking in a circle. The ball is going around you, but you're both moving together in a larger circle.