Intermolecular forces determine whether a substance will dissolve in another. For dissolution to occur, the molecular bonds in both the solute and solvent must be broken as the solute molecules are inserted into the solvent. This requires energy. If the bonds between solute molecules or solvent molecules are too strong and there is not enough energy provided, dissolution will not take place. For example, sugar dissolves in water as the energy released by bonds forming between sugar and water molecules is enough to overcome the bonds within sugar molecules and water molecules. Similarly, ionic compounds like salt dissolve when the energy released by interaction with the solvent is greater than that needed to break the ionic bonds between its ions.