Glial cells, including astrocytes and microglia, play supportive roles in learning and memory. Astrocytes help maintain the extracellular environment, regulate blood flow, and modulate synaptic activity. Microglia are involved in synaptic pruning during development and in response to injury or disease, which is essential for maintaining healthy neural circuits.