The system of categories used to classify words in different languages, including tense, aspect, mood, and voice.