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.
Justin Clifford, High School Student, Alpine, Utah
'A scientist is happy, not in resting on his attainments but in the steady acquisition of fresh knowledge.'