Sleep mentation describes the images and thoughts formed during the REM phase of sleep. These images are thoughts that are directly connected to the dream. The REM phase follows the sleep that begins with the NREM phase. One of its functions is to consolidate and store information. It’s suspected that sleep mentation also assists this physiological function of REM sleep.