I think it's a flying ant but I can't tell

It’s definitely not a winged termite, but it could be a winged ant. However, the photo gives the appearance that the head is tight against the thorax, and ants tend to have a gap. This could also just be another Hymenopteran (same order as bees, wasps and ants).
Can someone please tell me what this is?
I think it's a flying ant but I can't tell