The solubility of solutes is dependent on temperature. When a solid dissolves in a liquid, a change in the physical state of the solid analogous to melting takes place. Heat is required to break the bonds holding the molecules in the solid together. At the same time, heat is given off during the formation of new solute -- solvent bonds.