When something heats up energy is absorbed from another system and when something cooler down energy is released to another system.
When a reaction releases heat, it is classified as exothermic. The absorption of heat in a reaction makes it endothermic.