It was found that indole was precursor of indigo biosynthesis in plant. In old leaves of the plant, precursors are broken down by hydrolases when the leaves are damaged and exposed to the air. The liberated indoxyl is spontaneously oxidized oxygen yielding indigo. Isatin is generated from indoxyl in an oxygen-rich environment as a side product.