In insects like honey bees, wasps, ants, etc., sex is determined by whether the animal is haploid or diploid. This type of sex determination is called haplodiploidy. The female is diploid, (2n gametes), while the male is haploid (n gametes). The females are diploid because they develop from fertilised eggs, while males are haploid because they develop from unfertilised eggs.