People form groups to be able to obtain the benefits of cooperative relationships while minimizing the possible costs, because most groups enforce rules for how members should treat each other.