The processes that allow us to create long-term memories largely lie dormant while we sleep, which is why most dreams are forgotten shortly after waking.
Why your brain needs to dream
Everything you need to know about dreaming and how to have a good night sleep.