Why Swarming Evolved Offers Clues on how Intelligence Developed: "Swarming allows groups of animals to accomplish tasks that they can't do alone, such as defending themselves from a much larger predator. . ."Swarming is a complex behavioral trait that increases the chance for survival," Adami said. "Intelligence is an even more complex trait that also increases the chance for survival, so understanding one will help us understand the other."