People saw that they could attract and tame animals by leaving food for them. The first animal to be tamed was the dog. They started rearing sheep, goat, cattle, etc. People often protected these animals from attacks by other wild animals. This is how people became herders.