There is some evidence that dreaming is necessary. When people or other mammals are deprived of REM sleep (by awakening them as soon as the characteristic REM and EEG dream patterns emerge), the number of initiations of the dream state per night goes up, and, in severe cases, daytime hallucinations-that is, waking dreams-occur.
Carl Sagan, Dragons of Eden: Speculations on the Evolution of Human Intelligence
dreams, human-brain, sleep