However, the moon exerts a much stronger gravitational effect on the Earth than the Sun, dominating the ebb and flow of the ocean tides.
(the moon; exerts; a much stronger gravitational effect on the Earth than the Sun)
the moon
exerts
a much stronger gravitational effect on the Earth than the Sun