Why do dogs wag their tails?

A wagging tail is often seen as a sign that a dog is happy. However, that is not always the case. Dogs use their tails to communicate many emotions, not just happiness, to both people and other dogs. Misinterpreting the wag of a nervous, anxious, or defensive dog for a happy or excited one can…