Your dreams may often be cathartic vehicles to help you resolve difficult and painful emotions. The basic idea of catharsis is to purge or let off steam. It is thought that if a person is angry, letting off steam can help them feel better and reduce the likelihood of aggression.
Many films, plays and books contain cathartic scenes in which various characters express intense feelings of rage, anger, guilt or hostility and, by so doing, resolve the key issues in their lives. Catharsis also occurs in dreams; your unconscious conjures up various scenarios in which negative emotions are expressed or acted out. It is urging you to face up to difficult feelings and take action to resolve them in your real life.
[1]