Sarcasm is a human characteristic, some people are likely to be ironic more frequently than others, though it is a great way to use humor, mainly in talk shows, movies and comedies in general. As you get used to the context (historical, social, cultural) of the language you're learning, it becomes easier to get the point of a joke.