Thermochemistry is the application of thermodynamics to chemistry that allows one to better understand chemical reactions, phase changes, and the spontaneity of reactions.