These are sequences of images, emotions, and thoughts passing through a sleeping person's mind. Dreams are notable for their hallucinatory imagery, discontinuities, and incongruities.
This is rapid eye movement sleep; a recurring sleep stage during which vivid dreams commonly occur. It's like the projector in our analogy - it plays out the 'movie' (dream) for us to watch (experience).