group of birds conducting flocking behavior in the midst of flight, or while foraging or roosting
A swarm is a big group of animals. The term is usually used for insects, but other animals such fish and birds can make a swarm also. A good example of animals that swarm are locusts. Mammals do not build swarms, but herds.