The dream acts as a safety-valve for the over-burdened brain.
Sigmund Freud (2016). “THE INTERPRETATION OF DREAMS - The Royal Road to the Unconscious: Rules of Dream Interpretation: The Dream as a Fulfillment of a Wish, Distortion in Dreams, The Method of Dream Interpretation, The Sources of Dreams & The Psychology of the Dream Activities”, p.69, e-artnow