What type of chemical reaction takes place when heat is released into the environment?