Phenylalanine and tyrosine are the precursors used in the phenylpropanoids biosynthesis. The phenylpropanoids are then used to produce the flavonoids, coumarins, tannins and lignin. The first enzyme involved is phenylalanine ammonia-lyase (PAL) that converts -phenylalanine to trans-cinnamic acid and ammonia.