The motion of the moon in space to produce the different phases is the rotation and the revolution.
The moon's rotation is characterized as the movement that this body performs on its own axis.
In addition, the moon also performs the movement of revolution, which is characterized as the movement of the moon around the Earth.
The revolution lasts approximately 28 days, and just like the rotation allows for the existence of 4 phases of the moon, every 7 days.
Learn more about celestial's bodies movements in: brainly.com/question/799730