Researchers unleashed lab-engineered E. coli to transform terephthalic acid into vanillin, the compound that gives vanilla its distinctive taste and smell.. That acid, or TA, is a molecule derived from PET (polyethylene terephthalate), the polymer commonly used to make plastic bottles, bags, and other products. The researchers got there through a series of chemical reactions.