Residual energy in heat transfer
If the bodies involved in heat transfer are not interacting with other bodies, the amounts of heat given by a hot body and received by a cold body are equal in magnitude.
Heating and cooling of bodies
The amount of heat that must be given to a substance to raise its temperature by a certain number of degrees depends on the specific heat of the substance, the mass of the substance and the desired temperature change :
Thus, in the heat exchange, the temperature of the substance will either rise or fall. If the temperature does not change, there is no heat exchange.