Kin selection
By cooperating, relatives influence each other's fitness. Under natural selection, a gene which improves the fitness of individuals will increase in frequency. A gene which lowers the fitness of individuals will become rare.