Dreams are constructs of your own mind. The purpose of dreaming has been long debated and although many have settled on certain explanations, these "explanations" may not be deep enough or inquisitive enough.
This dream is not a simulation devised by your own mind, it's something else.