Gland in the corium (dermis) of the skin that releases fluid to the surface of the skin so that it can evaporate there. The evaporative cooling serves to cool the body.
Sweat glands have a merocrine (eccrine) or apocrine secretion mechanism.
https://de.wikipedia.org/wiki/Schweißdrüse (Wikipedia CC-by-sa-3.0)