Earth
How tides work
The Moon pulls the oceans into two bulges, and the Earth turns through both of them every day.
Spend a day at the seaside and you will see the water creep up the beach and slide back again. These slow rises and falls are the tides. They are caused mostly by the Moon.
The Moon's gravity pulls on the whole Earth. But it pulls hardest on the side nearest to it and least on the far side. The ocean facing the Moon is pulled toward it and heaps up into a bulge.
On the far side, the ocean is pulled least of all. It gets left behind a little, so a second bulge forms there too. That is why there are two bulges, one on each side of the Earth.
The Earth spins through both bulges. Each time your beach passes under one, you get a high tide. The Moon is also moving along its path, so a full turn back to the Moon takes about 24 hours and 50 minutes. Most coasts get two high tides in that time, and they come a little later each day.
The Sun makes tides too, but it is so far away that its effect is smaller. The Moon's pull on the tides is about 2.2 times the Sun's. At new Moon and full Moon, the Sun, Moon and Earth line up and their pulls add together. The tides are bigger, and these are called spring tides. At half Moon, the two pull at right angles. The tides are smaller, and these are called neap tides.