I believe the answer is: Wish fulfilment
According to Freud, the dreams that exist when we sleep often represent the ideal situation which occupying our mind that we wish would happen in our current life. This desire manifest itself in our unconscious, and the dream is a way for our mind to letting it out.