Heat energy is transferred from hot places to cooler places by convection. On a hot day the sun raises the temperature of a house. Inside the house, heat rises as it warms.