It is based on the law of conservation of energy, which says that energy is neither created nor destroyed during a chemical reaction. In calorimetry, this means that the heat gained by the water in the calorimeter must have been released by the sample or the reaction taking place in the calorimeter