What's "man" mean here? When's it used?

Native speaker’s answer
Rebecca
Regardless of the gender of the person you are speaking to, you can use the exclamation "man" to express surprise, happiness, or admiration. You can also use it for emphasis. Ex: Man, what a day! I'm glad it's over. Ex: Man, this pasta is delicious!