Which of the following best describes the effect the moon has on the tides?

A
The gravity of the moon pulls the ocean, which causes the tides.

B
When the moon is invisible in the sky, tides cannot be seen.

C
Tides only happen at night when the moon is visible.

D
The moon’s light makes it possible to see the tides at night.