Explanation
Tides result from the gravitational pull of both the Moon and the Sun on Earth, combined with Earth's rotation. The Moon has the strongest effect, but the Sun also contributes significantly, especially during spring and neap tides. Therefore, all three celestial bodies are involved.