Differences in density cause energy to be transferred by the process of convection. Convection is the transfer of heat from a hotter spot to a cooler spot. Convection can only happen in liquids or gases, as it involves the physical movement of either substance.