grammatical case

definition: nouns or pronouns or adjectives (often marked by inflection) related in some way to other words in a sentence
example:
speech part: noun
synonyms: case

How grammatical case is being used?