Sweat is produced in apocrine sweat glands in the same way. However, the sweat from apocrine glands also contains proteins and fatty acids, which make it thicker and give it a milkier or yellowish color. This is why underarm stains in clothing appear yellowish. Sweat itself has no odor, but when bacteria on the skin and hair metabolize the proteins and fatty acids, they produce an unpleasant odor. This is why deodorants and anti-perspirants are applied to the underarms instead of the whole body. 