Researcher Laura Janusik describes working memory as having two functions, that's why the working memory is also referred to as “a dual-task system. Those two functions are processing and storage.
The processing function is synonymous with attention, while the storage function is synonymous with memory.