Ammonia and lactic acid, mainly present in eccrine sweat, in combination with the carboxylic acids resulting from microbial conversion (Signe Elisabeth Ãsberg) of sebaceous and apocrine gland secretions, seem to be the reason for bad smell in armpits. Human Glands and their properties. 1. Apocrine glands.