What part of speech is consonant?

Consonant is a noun.