All bees and wasps, including parasitoid wasps are haplodiploid. This means not all eggs have to be fertilized to develop. Unfertilized eggs become males, which are haploid . Fertilized eggs become female, and are diploid . In autoparasitoids, placement is also important in sex development.
Female eggs can only develop on whitefly larvae.
This makes the whitefly a primary host, meaning that the wasp generally places its eggs on this host. The humans from the Aliens movies are the primary host for the aliens. Male wasps can only develop on wasp larvae. This makes the wasp larva the secondary host. The secondary host can be female wasps of the same species or other parasitoid species developing on the whitefly.