Fact 1: preventing the transfer of heat from an organims 's body causes that organism to keep warm. 
Fact 2: Sweat cools the body and prevents internal heat from getting too high.
Sweating increases the amount of heat that is transferred from the body.