The ichneumons are parasitoids. They use that long ovipositor to probe into the wood for the larval stage of another insect, for this species, often horntail wood-wasps. They lay their egg in or on the surface of the larval host. The larval host is paralyzed. The ichneumon larva proceeds to eat the host alive until the ichneumon larva is ready to metamorphose and emerge. It then bursts out of the body of the host (think the movie Alien).Dozens of these on a standing snag in my front yard. Beautiful wasps - shimmer purple-blue in the sun. A brief web search yielded maybe Giant Ichneumon Wasp? Body a little over an inch long, for scale. I think that's an ovipositor, not a stinger!
View attachment 16916View attachment 16917
View attachment 16918