It is a fact that humans sweat and dogs pant to regulate body temperature or release heat from the body. This procedure is also called evaporative cooling. The sweat of the humans and the panting of the dogs actually help to evaporate from the body and thereby it takes away the heat from the body. I hope it has helped you.