Trap crops are chosen based on their capacity to attract target pests away from the primary crop. These trap crops produce unique chemical compounds, odors, or visual qualities that are highly enticing to pests. Certain plant kinds, for example, may exude volatile substances that mimic the aroma of the main crop or generate attractive colours that draw pests.