Why do dog's have a wet nose?

It's commonly believed that you can tell a dog is healthy if their nose is cold and wet, but this is not necessarily true. Not only does a cold and wet nose not always indicate good health, but a warm and dry nose does not necessarily mean that your dog is unwell.