How do bodies of water effect land temperature?

if the water is warm it makes the soil warm if it is cold it makes the soil cold!