They both, Moon spins on it axis every 27 days and it rotates around a captured earth gravity every 27 days. The end result is we never see the dark side of the moon.
A small AWSA training session explained something else that the Moons rotation is increasing and Earth Rotatation is slowing ever slow slightly so that in a few million or billion years there will be catchup of some sort.
|