Why do dogs wag their tails and do they control it?

Stanley Coren, a UBC professor emeritus, was quoted in a Metro U.K. article about the meaning of dog tail-wagging.

He said a dog’s tail movement serves the same function as a human smile.