Ocean tides are caused by the difference between the attraction of the sun and moon for the main body of the earth and their attraction for different particles of the earth's surface. The tide-raising force of the disturbing body is proportional to its mass and inversely proportional to the cube of its distance. The tides produced by the sun are, therefore, only two-fifths as great as the tides produced by the moon.