Heat transfer and specific heat capacity
Heat moves from hot to cold by conduction, convection or radiation. Specific heat capacity is the energy it takes to warm 1 g of a substance by 1 °C.
A worked example
Warming 500 g of water by 12 °C takes 500 × 4.19 × 12 = 25 140 J of energy.
The mistake people actually make
Temperature and thermal energy are not the same thing. Water has a high specific heat capacity. So a lake warms and cools slowly, and the land near it stays milder.