Daydreaming and neuroscience: how brain imaging may track the creative process fostered by the wandering mind. From the article:

Dr. Christoff and colleagues suggest that creative thought involves a special interaction between these control systems and mind-wandering. In this activity, the control system holds a particular problem in mind but permits the brain to wander enough to put together old ideas in new ways and find creative solutions.