Gallic acid is a trihydroxybenzoic acid, a type of phenolic acid, a type of 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 C6H2(OH)3COOH. Gallic acid is found both free and as part of hydrolyzable tannins. Gallic acid seems to have anti-fungal and anti-viral properties. Gallic acid acts as an antioxidant and helps to protect human cells against oxidative damage. Gallic acid was found to show cytotoxicity against cancer cells, without harming healthy cells. Gallic acid is used as a remote astringent in cases of internal haemorrhage. Gallic acid is also used to treat albuminuria and diabetes. Some ointments to treat psoriasis and external haemorrhoids contain gallic acid. Gallic acid is formed from 3-dehydroshikimate by the action of the enzyme shikimate dehydrogenase to produce 3,5-didehydroshikimate.