Humor is a means of obtaining pleasure in spite of the distressing effects that interface with it.
Sigmund FreudThere is no doubt that the resistance of the conscious and unconscious ego operates under the sway of the pleasure principle: it seeks to avoid the unpleasure which would be produced by the liberation of the repressed.
Sigmund Freud