The vocative case is used for identifying the person or thing you're speaking to. It doesn't have a role in the rest of the sentence. And yet, for the most part, the vocative is identical to the nominative in form. Hey you, learn more about the vocative in this video, with some fun poems by Martial.
91 rules of grammar cases nouns