Although images from your memories may appear in your dreams, you never replay memories back as they occurred, except in the case of post-traumatic stress disorder, Stickgold said. Instead, the brain determines what you dream about by calculating which of your newly-formed memories are most valuable and yet not fully understood, he explained. Additionally, you also dream about the things your brain connects to that recent memory.