<P> Most non-primate mammals, however, have apocrine sweat glands over the greater part of their body . Domestic animals such as dogs and cats have apocrine glands at each hair follicle but eccrine glands only in foot pads and snout . Their apocrine glands, like those in humans, produce an odorless, oily, opaque secretion that gains its characteristic odor upon bacterial decomposition . Eccrine glands on their paws increase friction and prevent them from slipping when fleeing from danger . </P> <P> The apocrine gland is made up of a glomerulus of secretory tubules and an excretory duct that opens into a hair follicle; on occasion, an excretory duct opens to the skin surface next to the hair . The gland is large and spongy, located in the subcutaneous fat deep in the dermis, and has a larger overall structure and lumen diameter than the eccrine sweat gland . The secretory tubules of apocrine glands are single layered, but unlike the eccrine secretory tubules, contain only a single type of ductal epithelial cell, varying in diameter according to their location, and sometimes branching off into multiple ducts . The tubules are wrapped in myoepithelial cells, which are more developed than in their eccrine gland counterparts . </P> <P> In hoofed animals and marsupials, apocrine glands act as the main thermoregulator, secreting watery sweat . For most mammals, however, apocrine sweat glands secrete an oily (and eventually smelly) compound that acts as a pheromone, territorial marker, and warning signal . Being sensitive to adrenaline, apocrine sweat glands are involved in emotional sweating in humans (induced by anxiety, stress, fear, sexual stimulation, and pain). </P> <P> In a five - month - old human fetus, apocrine glands are distributed all over the body; after a few weeks, they exist in only restricted areas, including the armpits and external genitalia . They are inactive until stimulated by hormonal changes in puberty . </P>

What is the function of the apocrine gland
find me the text answering this question