Tides are caused by the gravitational pull of the moon and, to a lesser extent, the sun on bodies of water. The earth's water bulges/moves toward and away from the moon(/sun), while it becomes shallower in areas perpendicular to the pull. Thus, there are two complete tide cycles per day.
Tides occur mainly in oceans because that is basically one huge body of water that is free to move all over the earth. Lakes and rivers do not cover enough area to have their water be moved significantly by gravity, or in other words, to have tides.
Answered by:
Justin Clifford, High School Student, Alpine, Utah
'To myself I seem to have been only like a boy playing on the seashore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me.'