I wonder if the reason dreams are so fragmentary and surreal is so that we can tell the difference between them and reality. Evolutionary speaking that would be a bit of a disaster for a person's survival if they couldn't differentiate between reality and dreaming.

I mean the brain must be capable of creating a logically consistent dream that feels like reality, it must be an evolutionary thing that keeps it from doing so. Maybe I'm way off :s