The gland responsible for sweating is the eccrine sweat gland. Eccrine sweat glands are found all over the body, but are most common on the palms, soles of the feet, armpits, and forehead. These glands secrete sweat, which is made up of water and salt. Sweating helps to regulate body temperature, as well as flush out toxins and waste products. In addition, sweating can be a response to certain emotional states, such as fear, embarrassment, or excitement. Stimulation of the eccrine sweat gland is controlled by the sympathetic nervous system. When the body temperature increases, the sympathetic nervous system sends a signal to the sweat glands, causing them to become active and secrete sweat. Sweat then evaporates, cooling the body and helping to regulate its temperature.