Herding cattle is a practice that goes back thousands of years, to when humans first realized that controlling large groups of animals could help provide them with steady sources of food.