This ancient parasitic wasp subdued prey with its ‘flytrap’ tail

The unusual structure may have helped the insect deposit eggs inside its victims