Case is the grammatical category that indicates the grammatical role of nouns and pronouns in sentences.