Sweat glands, also known as sudoriferous or sudoriparous glands, , are small tubular structures of the skin that produce sweat. Sweat glands are a type of exocrine gland, which are glands that produce and secrete substances onto an epithelial surface by way of a duct. There are two main types of sweat glands that differ in their structure, function, secretory product, mechanism of excretion, anatomic distribution, and distribution across species: Eccrine sweat glands are distributed almost all over the human body, in varying densities, with the highest density in palms and soles, then on the head, but much less on the trunk and the extremities. Its water-based secretion represents a primary form of cooling in humans. Apocrine sweat glands are mostly limited to the axillae (armpits) and perineal area in humans. They are not significant for cooling in humans, but are the sole effective sweat glands in hoofed animals, such as the camels, donkeys, horses, and cattle. Ceruminous glands (which produce ear wax), mammary glands (which produce milk), and ciliary glands in the eyelids are modified apocrine sweat glands. Structure Generally, sweat glands consist of a secretory unit that produces sweat, and a duct that carries the sweat away. The secretory coil or base, is set deep in the lower dermis and hypodermis, and the entire gland is surrounded by adipose tissue. In both sweat gland types, the secretory coils are surrounded by contractile myoepithelial cells that function to facilitate excretion of secretory product. The secretory activities of the gland cells and the contractions of myoepithelial cells are controlled by both the autonomic nervous system and by the circulating hormones. The distal or apical part of the duct that opens to the skin's surface is known as the acrosyringium. Each sweat gland receives several nerve fibers that branch out into bands of one or more axons and encircle the individual tubules of the secretory coil. Capillaries are also interwoven among sweat tubules. Distribution The number of active sweat glands varies greatly among different people, though comparisons between different areas (ex. axillae vs. groin) show the same directional changes (certain areas always have more active sweat glands while others always have fewer). According to Henry Gray's estimates, the palm has around 370 sweat glands per cm2; the back of the hand has 200 per cm2; the forehead has 175 per cm2; the breast, abdomen, and forearm have 155 per cm2; and