The answer is sweating I believe. This is what I would say because this is how your body keeps cool! When the inner part of you is hotter than normal, it triggers your sweat glands the fore making you sweat. So Believe it or not, when you sweat your body is keeping itself cooler. The way your sweat glands are triggered is when your body is working up so much energy that it starts producing heat. Heat=Energy. So this heats up the inner part of your body cause of your body to sweat in order to keep itself cool.
-HOPE THAT HELPED <3