Dogs have been bred for many domestic purposes other than as pets. The armed forces have used dogs for guard, security, and attack purposes. Police departments use dogs because of their keen senses of hearing and smell. Dogs also are used for herding ducks, geese, sheep, and cattle. They also perform in film and on stage and television.