The correct answer is working memory.
Working memory is a type of short-term memory that can hold a limited amount of information, while simultaneously utilizing that information and manipulating it to perform a task or solve a complex cognitive problem. Working memory is also involved in encoding, storing and retrieving memories.