Discover how an ancient gene influences the sex of ant, bee, and wasp embryos, impacting conservation and breeding practices.