The Nature of Dreaming

"There is nothing like a dream to create a picture of the future."

Could it be that the mechanism of the mind which predicts the short-term future prediction also be capable of some
small ability to predict the longer term future and that that is one of its functions as we sleep and dream?

Normally an awake person is predicting the near future and closing the loop on that mechanism by comparing what
actually has happened to what had been predicted.  When a person is asleep, the feedback is missing and the
predictions can get wildly different than what we normally think while conscious.