Transpiration glands have an important function in the body. They provide for the regulation of body heat. In addition, they transport water and salts. On your feet sweat glands are common for. The sweat itself is odorless liquid. Only when it comes into contact with bacteria that live on your feet, creates the unpleasant foot odor. These bacteria thrive in a humid environment.