Time: What does brain flexibility and rapid cortical takeover have to do with dreaming? Perhaps more than previously thought. 

We suggest that the brain preserves the territory of the visual cortex by keeping it active at night. In our “defensive activation theory,” dream sleep exists to keep neurons in the visual cortex active, thereby combating a takeover by the neighboring senses. In this view, dreams are primarily visual precisely because this is the only sense that is disadvantaged by darkness. Thus, only the visual cortex is vulnerable in a way that warrants internally-generated activity to preserve its territory.

time.com