Nettles are covered with tiny hollow hairs called trichomes, which contain a mixture of chemicals, including formic acid, histamine, and acetylcholine. The sting is caused by these chemicals being released when the trichomes are broken and coming into contact with the skin. Formic acid is one of the main components responsible for the sting of nettles.