The Moon does rotate on an axis, but it takes the same amount of time to rotate once on its axis as it takes to orbit the Earth. In other words, we will only ever see one side of the Moon from any given position on Earth.