It's called "celestial gravitation" and they orbit the Earth, not the Sun. (Remember? The Sun is right next to the Earth)