Changes in temperature alter the equilibrium of a chemical reaction by favouring either the endothermic or exothermic reaction. If temperature increases, the endothermic reaction (absorbs heat) is favoured; if it decreases, the exothermic reaction (releases heat) is favoured.