When they're being eaten, bean plants release chemicals that draw in parasitic wasps.