Heat can be released or absorbed when ionic substances are dissolved in water, which is referred to as "heat of solution". For example, an instant cold pack is made of ammonium nitrate dissolving endothermically in water. A hot pack is made from calcium chloride dissolves exothermically in water.