How working memory could give rise to consciousness

Scientists are exploring how working memory—the information we use for current tasks—might be linked to consciousness. This research could deepen our understanding of how the mind works, offering hope for breakthroughs in cognitive science and mental health. The findings highlight the potential for new insights into one of humanity’s most fundamental mysteries.
Working memory is the information we need to access to complete the tasks we’re engaged in right now, and scientists think it may be closely entwined with consciousness
Scientific American