Answer:
Female donkeys are used to protect goats and other animals from coyotes. Males are normally not used for this as they might attack the animals. Some donkeys are used as companions for retired racehorses, overly excited horses, and just plain old horses. A lot of donkeys are used as pets. Some drive carts. Others are breeding donkeys. Back in olden days, they produced milk; they still might. Some are entered in shows. Others are ridden, which I do with my donkey.