Why does a solute dissolve faster in hot water than cold?

2 answers

It doesn't always, it depends on the solubility of the solute in the solvent at that temp. For instances, carbon dioxide dissolves faster in cold water as compared to hot. Put sodium chloride, the solubility of which is greater at hot temps, dissolves faster in hot water.
But why and how