Technically, the moon doesn't "change" every night.
The shape APPEARS to change.
These are the phases of the moon or "cycle" of the moon if you prefer to call it.
Hope this helps!
Answer:
To learn how to reproduce, how you get your traits, and genes, gene mutations, and other /good/bad stuff.
Explanation: