A new model exploring how evolutionary dynamics work in natural selection has found that phenotypic diversity, or an organism’s observable traits, co-evolves with contingent cooperation when organisms with like traits work together to protect themselves from outsiders, according to a study. The study also finds that diversity helps prevent the collapse of cooperation.