The prefrontal cortex and basal ganglia are two parts of the brain that work together as part of our memory system. The prefrontal cortex is like a boss that helps us have control over our behavior and thoughts. The basal ganglia is like a secretary that helps us remember information. Working memory is kind of like when we use the boss and secretary together to help us remember things, like doing our math homework. It helps us hold the information in mind and use that information to think and make decisions.