We know so little about dreams that I don't believe they can be entirely written off as hallucinations or misfirings of brain activity in the subconscious (this may be the current scientific explanation, but it's not as though scientists claim to know much about dreams at all; after all, we all did think the world was flat once). As a big fan of the multiverse theory, I like to think that perhaps dreams are somehow connected to that.