Sweating is a mechanism the body uses to regulate the body’s temperature. It is the body’s cooling mechanism when the body temperature rises.