What is the meaning of Sheepdog?

A breed of dog, used for herding sheep.

A breed of dog used for guarding sheep.

A chaperon; an adult who accompanies other people in a supervisory role.

A police officer.

To chaperon or shepherd.

Source: wiktionary.org