High tides occur when

A.The earth, the sun and the moon are in a straight line, (the sun being in the middle)
B.The position of the sun and moon form a right angle with the earth’s centre
C.The sun, the earth and the moon are in a straight line (the earth being in the middle)
D.The earth, the moon and the sun are in a straight line (the moon being in the middle)