Sweat glands, (sudoriferous or sudoriparous glands),[2] are small tube-like glands in the skin that create sweat.
The evaporation of sweat helps to cool the body down. Also, in many mammals, the sweat contains a slight scent which other animals can notice.
References