Sweat glands in mammals are primarily concerned with:
Regulation of body heat
Sweat glands occur all over the body but are most numerous on the forehead, the armpits, the palms and the soles of the feet. 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.