Christina
It is a wasp known as a horntail wasp, but more specifically the pigeon tremex. These wasps do not sting.
This wasp lays eggs in diseased, cut or dying wood. There the larva bore into and feed in the wood. The most common wood is from oak, maple, hickory, elm, beech, sycamore, apple, pear or hackberry. The larvae have a fungus in their digestive systems to help digest the wood.
They are found thru out North America.