After the plant leaves are injured, green juice will emerge, and the fragrance of the leaves will become stronger. This green fragrance can lure the natural enemies of pests to eliminate pests. Researchers use transgenic methods to introduce the gene of green pepper aroma synthesis enzyme into Arabidopsis thaliana of Cruciferae. Once the larvae of Pieris rapae eat the leaves, the fragrance of Arabidopsis thaliana will be enhanced, The parasitoid lays its eggs on the larvae of Pieris rapae, which can eat all the larvae before they form pupae. 
the researchers conclude that if this research result is applied to the formula of vegetables, the use of pesticides can be greatly reduced.
At present, pesticides used in vegetable cultivation are mainly used to eliminate pests