Schadenfreude comes from the German word by the same name. It literally translates to harm joy. It is the happiness that somebody gets when somebody else is hurt. Psychologists theorize that there are three causes for this emotion. Aggression, rivalry, or justice. Aggression-based schadenfreude happens because seeing someone else's group fail makes them feel better about themselves. Rivalry-based schadenfreude happens because seeing someone else fail makes them feel better about themselves. These may seem similar, but the difference is in that aggression is related to in-group and out-group identities, and rivalry is based on individuals. The last form is justice-based schadenfreude. This happens because people feel happy that someone bad is being punished. They feel good that the bad person is getting what they deserve.