When your life cycle is so ridiculously complex, that it's a miracle you exist. Trigonalid wasps are super weird, but also very interesting. They are hyperparasitoids. The female will lay thousands of eggs on foliage, with the intent of the eggs being ingested by a herbivorous host, like a caterpillar. Once the eggs are consumed, they will hatch and attack any already inhabiting primary parasitoid host, like a Tachinid fly or Ichneumonid. It doesn't end there. Some Trigonalid wasps are parasitoids of Vespid wasps, and for their continued survival, the original host (caterpillar), must be brought back to the nest where it is fed to a Vespid wasp larva. The larva consumes the caterpillar and Trigonalid larvae that are inside and becomes parasitized. The individual presented in my drawing is based on Taeniogonalos gundlachii. There are probably other animals out there with even more complex life cycles! As far as wasps go, I'd consider this survival strategy to be very intricate.
I have added a chart that explains the phenomenon.
In the latter case, the caterpillar full of Trigonalid eggs would be preyed on by a Vespid wasp and brought back to the nest. Once fed to a Vespid wasp larva, the remaining Trigonalid larva then consumes the host.
https://www.researchgate.net/figure/A-diagram-describing-the-life-stages-of-the-trigonalid-hyperparasitoid-Orthogonalys_fig1_221959174
https://www.researchgate.net/publication/221959174_A_Scattershot_Approach_to_Host_Location_Uncovering_the_Unique_Life_History_of_the_Trigonalid_Hyperparasitoid_Orthogonalys_pulchella_Cresson#pf2










