The ocean has a moderating effect on climate, meaning that it helps to keep temperatures more consistent. This is because water has a higher specific heat capacity than land, meaning that it takes more energy to heat up or cool down water than it does land. As a result, coastal areas tend to have smaller temperature gradients than inland areas.