Every night, whether you remember it or not, you dream. Most people dream for about two hours each night, spread across several dreams. But why? Scientists have argued about that question for more than a century, and they still do not fully agree. What they do agree on is that dreams are closely tied to sleep — and sleep is closely tied to memory.
When you learn something new, your brain does not file it away at once. It needs time to sort and store the new information. Much of that sorting seems to happen while you sleep, especially during the stage called REM sleep, when dreams are most vivid. In one famous study, people who learned a maze and then slept did better at it the next day than people who stayed awake — and the ones who dreamed about the maze did best of all. It was as if their brains were practicing the maze in their sleep. Scientists call this “sleep-dependent learning,” and it works for more than mazes. People who study words, music, or a new skill in the evening often remember it better after a good night's sleep than after staying up late to cram.
Other scientists think dreams may help with feelings. A frightening dream about a test, for example, might be the brain's way of rehearsing a stressful event in a safe place — like a practice run. Some researchers point out that animals dream too: dogs twitch and whimper in their sleep, and rats run through mazes in their dreams, just as they do when awake. If dreaming were useless, why would so many animals do it?
There are still mysteries. No one knows why some dreams are remembered and others vanish within seconds of waking. No one knows why dreams are so often strange — why a classroom can suddenly become a beach, or why a friend can turn into a cat. What scientists do know is that dreams are not random noise. They draw on the day's experiences, they are linked to memory, and they may help the brain make sense of what it has learned. So the next time you wake from a strange dream, remember: your brain was not wasting time. It was working.