Dreaming has been studied for thousands of years, and yet it remains one of the most mysterious aspects of consciousness. What we've learned in the past half-century suggests that it may play a central role in how human consciousness develops into being so rich and versatile.