Along with many other insects, the wasp was nectaring on the flowers of queen anne's lace (AKA wild carrot), a magnet for many species.