So when external input falls below a certain level, like when you're asleep, your brain automatically triggers the generation of data from its memory storages, which appear to you in the form of the thoughts and feelings you experience in your dreams.