The tidal force is a secondary effect of the force of gravity and is responsible for the tides. It arises because the gravitational force exerted by one body on another is not constant across it; the nearest side is attracted more strongly than the farthest side. Thus, the tidal force is differential. Consider the gravitational attraction of the moon on the oceans nearest the moon, the solid Earth and the oceans farthest from the moon.