During dreaming , your mind isn't still ; it's busily processing information . Researchers propose that dreaming serves various functions, including consolidating memories and emotionally regulating moods . Rapid Eye Movement sleep, the stage most linked with vivid visions, shows heightened brain function , with areas involved in visual processing