A shepherd is a dog that surveys and protects a herd of sheep for humans.