Energy is conserved in chemical reactions. The amount of energy in the universe at the end of a chemical reaction is the same as before the reaction takes place.
A reaction where energy is transferred to the surroundings so that the surroundings temperature increases - combustion, oxidation reactions and neutralisation (acid + alkali) reactions. Negative sign of energy change.
A reaction where energy is taken in from the surroundings so the surroundings temperature decreases - thermal decomposition, reaction of citric acid and sodium hydrogencarbonate. Negative sign of energy change.