"The Moon exhibits different phases as the relative geometry of the Sun, Earth, and Moon change, appearing as a full moon when the Sun and Moon are on opposite sides of the Earth, and as a new moon (also named dark moon) it is not visible at night when they are on the same side."
copied from Wiki cause I couldn't think how to explain it