Meaning: This sentence describes the dog's contented state of mind as it expresses its joy.
Choice of Words: "Wags" means to move the tail back and forth. "Tail" is the long, thin part of an animal's body extending from the back. "Happily" means feeling or showing pleasure.