Crops release an odor if they are under attack by pests. The odor attracts wasps to come and kill the pest.