New research reveals that the brain’s flexibility comes from its ability to reuse “cognitive building blocks” across many tasks, allowing rapid adaptation with minimal relearning. By studying monkeys performing a set of related categorization tasks, researchers found that the prefrontal cortex combines and recombines shared neural patterns like components in a modular system.