Sarcasm can be used to criticize or challenge authority, and can also be a coping mechanism in difficult situations.