Why Do Dogs Have Wet Noses?

The dogs are constantly licking their noses and keep them covered in saliva. But why do they lick their noses? Dogs lick their noses to keep them clean.