In an exothermic reaction, energy is transferred from