Swarm
Overview
 
Swarm behaviour, or swarming, is a collective behaviour exhibited by animals of similar size which aggregate together, perhaps milling about the same spot or perhaps moving en masse or migrating
Animal migration
Animal migration is the relatively long-distance movement of individuals, usually on a seasonal basis. It is a ubiquitous phenomenon, found in all major animal groups, including birds, mammals, fish, reptiles, amphibians, insects, and crustaceans. The trigger for the migration may be local...

 in some direction. As a term, swarming is applied particularly to insects, but can also be applied to any other animal that exhibits swarm behaviour. The term flocking is usually used to refer specifically to swarm behaviour in birds, herding to refer to swarm behaviour in quadrupeds, shoaling or schooling
Shoaling and schooling
In biology, any group of fish that stay together for social reasons are said to be shoaling , and if, in addition, the group is swimming in the same direction in a coordinated manner, they are said to be schooling . In common usage, the terms are sometimes used rather loosely...

 to refer to swarm behaviour in fish.
 
x
OK