Question: a man who looks after cattle?
Answer: Shepherds usually take the sheep out into fields so that they can graze (eat the grass). In the same way, someone who looks after cows is called a “cowherd”. A "swineherd" looks after pigs and a "goatherd" looks after goats. A herd is a group of animals.