The science behind vivid dreams.