Flock is the collective noun for sheep and many types of birds.
Some collective nouns for animals are horde, herd, flock, school, swarm, army, colony, pack, and a tribe of monkeys.
the collective noun fo horses is herd
They are referred to as a pack.
some are
A flock of sheep is the most common. Also a drift, drove, fold or herd and there are others.