Remarkably, the moon rotates on its axis (its "day") in almost perfectly the same period of time that it takes for it to revolve around the Earth (a lunar-Earth "year').
(it; to revolve; around the Earth) (the moon; rotates; on its axis)
it the moon
to revolve rotates
around the Earth
on its axis