A large group of animals, especially hoofed mammals, that live together or are kept together as livestock.