Sweat is mainly water, but it also contains some salts. Its main function is to control body temperature. As the water in the sweat evaporates, the surface of the skin cools. An additional function of sweat is to help with gripping, by slightly moistening the palms.