Categories to which words or lexical units are traditionally assigned according to their grammatical and semantic functions in language.