When two bodies of different temperatures (preferably a solid and a liquid) are placed in physical contact with each other, the heat is transferred from the body with higher temperature to the body with lower temperature until thermal equilibrium is attained between them. The body at higher temperature releases heat while the body at lower temperature absorbs heat. The principle of calorimetry indicates the law of conservation energy, i.e. the total heat lost by the hot body is equal to the total heat gained by the cold body.
Heat Lost = Heat Gained