there's lots of theories on dreams. I remember doing an essay on dream theory for my first Psychology diploma. there's a couple of examples here -
http://psychology.about.com/od/state...m-theories.htm
don't forget though, there is also what's called 'Absence of Theory', meaning that dreams are quite simply, just dreams. random firings of neurons during a sleep state that take no meaning from the consciously experienced environment.