Certain species of wasps are seen to frequently visit flowering fig trees

Certain species of wasps are seen to frequently visit flowering fig trees. What type of interaction is seen between them and why?

Interaction is mutualism, as both are equally benefitted. The female wasp uses the ovary not only as a site for oviposition but uses the developing seed within the fruit for nourishing its larvae. In return, the wasp pollinates the fig inflorescence, while searching for suitable egg-laying site.