How does the Moon Affect Tides?

The moon affects the tides through gravity. Its gravitational pull varies as its distance from each point in the ocean varies because it is in orbit around our planet. As it passes over the oceans it exerts a pulling force creating areas of slightly higher water which we call high tide.