Dogs have few sweat glands and use the panting mechanism to get rid of excess heat. But even if a dog is panting, it doesn't mean he is uncomfortable -- it just means his internal mechanism has kicked in to keep him cool. The faster and more shallow the panting, the more heat the dog is trying to release from its body.