In beehives, there are only a few individuals that contribute to the society reproductively (Queens and drones). Most members of the colony are sterile workers who co-operate with relatives to raise relatives. This increases the chances of the survival of shared genes.