However, there are a few exceptions to this rule. For example, the solubility of calcium sulfate decreases with increasing temperature. This is because calcium sulfate forms a hydrate, which is a compound that contains water molecules trapped in its crystalline structure. As the temperature increases, the water molecules in the hydrate become more energetic and break away from the crystal, causing the solubility of calcium sulfate to decrease.
For most salts, the solubility increases exponentially with temperature over a limited temperature range. However, at very high temperatures, the solubility may start to decrease due to other factors such as changes in the solvent properties or the formation of new compounds.