The general view is:
Dreams are caused by some nerve impulses released by the brain when processing information and consolidating long-term memory, and are interpreted by the conscious brain as bizarre vision and hearing.
So! This is more likely to be a biochemical reaction than a prediction of the future.
Please adopt it and give a compliment by the way!