this is exactly the same kind of insect that i found bumping into my windows at home!
Horntail wasp by: Moni
Elva
Your photo looks like a giant horntail wasp. The long stinger looking part is an ovipositor used to pierce wood to lay eggs.
Female horntails lay their eggs in trees. The larvae bore into the wood and live in the tree for up to 2 years, possibly more. They typically migrate to just under the bark before pupation.
How long is this wasp?
Do you have a photo of the top side of the wasp? It would be very helpful to better identify what species you have.
Thanks
flying red insect by: Judi
It loks as though it belong to the Wasp family. I'm not quite sure. Hope someone tels us soon.