Most of the time, a healthy dog at rest will breathe through his nose.
As the dog's body gets warmer, his salivary glands begin to produce more saliva.
This causes the dog to release more heat each time he exhales through his mouth.
At the same time, as blood flows through the mouth, the inflow of air cools the blood.