That’s a very broad topic for ELI5. The exceedingly short version is: we figured out that cooperating allowed us to specialize, organize, and accomplish a lot more collectively than we could individually.
(Although, for the record, intraspecies violence was likely far less common than the popular imagination would suggest. We’ve been cooperators for a very long time.)
Latest Answers