It all goes back to the birds and the bees. The fish too. Even slime-molds. Really, it goes to all social creatures that amplify their collective intelligence by forming real-time synchronous systems. We have many names for these natural assemblages, including flocks, schools, shoals, blooms, colonies, herds, and swarms. Whatever we call them, one thing is clear – millions of years of evolution produced these highly coordinated behaviors because of the survival benefits they provide to a great many species. In this way, nature had demonstrated that social creatures, by functioning together in closed-loop systems, can outperform the vast majority of individual members when solving problems and making decisions, thereby boosting overall survival of their population.
From Human Swarming and the future of Collective Intelligence by Louls Rosenberg