What are dreams?

What are dreams all about and why do we have them? That is a question many people ask themselves especially when they are nightmares or the dream is disturbing in some way. Well an easy way of explaining is this.