What is nasal consonant?

N and M are the nasal consonants, that is our breath goes through the nose instead of out the mouth when we say them.