"The differences between the self-awareness experienced in waking and its diminution in dreaming can be explained by deactivation of the dorsolateral prefrontal cortex during REM sleep."

http://www.ncbi.nlm.nih.gov/pubmed/12457899