Cognitive images, often vivid but disconnected, that commonly occur during sleep are called

Hypnagogic imagery (or hypnagogic hallucinations) are usually vague and disconnected images often experienced at the onset of sleep, but sometimes manifesting as much more vivid, [ dream-like hallucinations.
Read more: ]