Why and how do we dream? Although this question has fascinated humankind since the earliest ages, it remains largely unanswered. Each night, when we fall asleep, we progressively disengage from the external world until we cease to sense it and to act upon it. Despite this disconnection from the environment, in our dreams we have vivid sensations and engage in actions. Although we do so in a purely imaginary world, our dream experiences bear so much resemblance with the real world that we almost invariably take them for real. How does the brain create such a real-world analogue, and why? The project Dreamscape proposes to answer this question by studying a set of brain potentials, recorded with electroencephalography (EEG), which not only occur spontaneously during dreams, but in a similar form also in response to sensory stimuli during sleep and wakefulness. The overarching objective of Dreamscape is to understand the precise role of these brain potentials in the generation of dreams.