The vocative case is used to directly address or call out to someone or something, often to grab their attention or to communicate directly with them. In English, the vocative case is marked by the name or noun being separated by commas when necessary and is often placed at the beginning or within a sentence.
Example:
In both examples, "John" and "sir" are in the vocative case because they are directly addressed.