Dogs pant in order to reduce their body temperature. They exhale large volumes of air and, if locked up in an unventilated area on a hot day, dogs might get heatstroke. Some other risks associated with hot weather are dehydration and sunburn.