The mind can wander without losing the thread

Working memory is the mind’s limited workspace: it lets you keep a goal or a few pieces of information in mind while using them. When that workspace is relatively capable, a person may be able to entertain an unrelated thought and still keep track of what they were doing. The key is not simply having more thoughts, but being able to return attention to the task.

That can make daydreaming look different from ordinary distraction. Someone staring out a window during a familiar, low-demand task may still be keeping the task’s next step in mind. When the work becomes more demanding, however, those spare thoughts can compete with information needed right now.

Why the pattern can show up on tests

Many intelligence tests ask people to hold information in mind, spot relationships, and work through a problem. Those demands draw on abilities that overlap with working memory. A person who can manage a stream of thoughts and reorient attention may therefore do well on such tests, even if they sometimes appear mentally elsewhere.

This is an association, not a rule that daydreaming raises intelligence. Mind-wandering can also mean attention has slipped away, and frequent drifting can interfere with learning or performance when a task requires sustained focus. The useful distinction is whether someone can bring attention back when the task needs it. A wandering mind is not automatically an idle one—but its detours help only when the original thread remains easy to find.