A solute dissolves in a solvent when it forms favorable interactions with the solvent. This dissolving process all depends upon the free energy change of both solute and solvent. The free energy of solvation is a combination of several factors.