Tides

 

The following diagram shows how the moon causes tides on earth:

In this diagram you can see that the moon's gravitational force pulls water in the oceans so that there are "bulges" in the ocean on both sides of the planet. The moon pulls water toward it and this causes the bulge toward the moon. The bulge on the side of the earth opposite to the moon is caused by the moon "pulling the earth away" from the water on that side. If you are one the coast and the moon is directly overhead, you should experience a high tide. If the moon is directly overhead on the opposite side of the planet, you should also experience a high tide.

During the day the earth rotates 180 degrees in 12 hours. The moon, meanwhile, rotates 6 degrees around the earth in 12 hours. The twin bulges and the moon's rotation mean that any given coastal city experiences a high tide every 12 hours and 25 minutes or so.

From the web site:   http://www.howstuffworks.com/question72.htm