Tides are caused by the gravitational pull of the Moon and Sun on the Earth and affect the Earth's gravity field.