The eccrine glands are sweat glands that are not connected to hair follicles. They function throughout life by responding to elevated body temperature due to environmental heat or physical exercise. These glands are common on the forehead, neck, and back, where they produce profuse sweating on hot days and when a person is physically active. They also are responsible for the moisture that may appear on the palms and soles when a person is emotionally stressed.