Since the Sun is behind the Moon from Earth's perspective, the side of the Moon that faces Earth is dark. At full Moon, the three bodies also lie approximately in a line, but this time, the Moon is on the opposite side of Earth, so the Sun illuminates the whole side facing us.