Why do people dream and what factors determine what type of dream one has?
It's generally believed that dreams are a side effect caused by our brains sorting through short term memory to figure out what's important enough to move to long term memory.
The type of dream you have is determined by the experiences you had during the day and how they associate with your pre-existing long term memories.
you should go to DreamMoods.com
then click on Dream Dictionary