The grammatical classification of words in a language (such as nouns, verbs, adjectives, and adverbs).