Gallic acid is an organic acid, also known as 3,4,5-trihydroxybenzoic acid, found in gallnuts, sumac, witch hazel, tea leaves, oak bark, and other plants. The chemical formula is C 6 H 2 (OH) 3 CO 2 H. Gallic acid is found both free and as part of tannins. It is commonly used in the pharmaceutical industry. Gallic acid can also be used to synthesize the hallucinogenic alkaloid, mescaline, also known as 3,4,5-trimethoxyphenethylamine.