Memory functions are distributed across the cerebral cortex. The hippocampus (in the medial temporal lobe) is crucial for forming new memories, while the temporal cortex stores long-term memories and the prefrontal cortex manages working memory. The cortex encompasses all these regions. The cerebellum coordinates movement, medulla controls vital functions, and cerebrum is the overarching structure.