I think it is Ants, which have a similar system. The instinct to protect the species is greater then the instinct to protect themselves. Many people would save the lives of children, even if they are not their own, over themselves. It is a social evolutionary trait, bringing survival to the species. Homosexuals can still have a role in this regard.