The sudoiferous glands, also called sweat glands, exist to keep the body cool. When body temperature increases, it causes the sweat glands to secrete sweat from the skin's surface and cool off the skin. This process is known as perspiration.