Which is the correct alignment for a solar eclipse?

Asun - moon - Earth
Bmoon - sun - Earth
CEarth - sun - moon
Dmoon - Earth - sun