Several government and university scientists studied what happens when a harmful insect, such as a corn-ear worm, attacks a plant. They found the plant releases a chemical announcing the attack. A wasp smells the chemical and flies to the plant in search of the insect. The wasp attacks when it finds the corn-ear worm. It drills a tiny hole in the worm with its tail and lays an egg.