Wasp with long scary stinger killed caterpillar

Under the microscope: the stinger and wing of a wasp. I compare a needle to the stinger of a wasp. The stinger is used to deposit eggs into the caterpillar. The larvae of the wasp ate the caterpillar. Tasty.

The wasp most likely belonged to the Braconidae: