How is the evolution of sociality and organismal cooperation explained according to kin selection

How is the evolution of sociality and organismal cooperation explained according to kin selection, reciprocal altruism, and the Prisoner’s Dilemma?