I don't know what species this is but a lot of bees and wasps have those three dots on their head. They are sort of eyes, but they can't actually make out images. They basically just detect light above the wasp's head. By having three there in a triangular configuration, the wasp can determine the direction of any shadow that appears overhead, like a bird swooping down for a snack.