As most dog owners know, panting is one of the ways dogs cool themselves down when they've gotten too hot. However, there can be more reasons why your dog is panting excessively.
Check out this article from the AKC about some of the many reasons your dog is "smiling."
AKC. Why do Dogs Pant?