Catharsis

Catharsis is a term in the Greek theatre meaning the purification of emotions through art. This was the effect of the tragedy as the main and earliest genre of the Greek theatre. It was originally used by Aristotle in the Poetics. 
It was also used in psychology. 
Related articles.
Art therapy
Mimesis