As the Earth rotates, it also moves, or revolves, around the Sun. ... As the Earth orbits the Sun, the Moon orbits the Earth. The Moon's orbit lasts 27 1/2 days, but because the Earth keeps moving, it takes the Moon two extra days, 29 1/2, to come back to the same place in our sky .hope it help