Microglia are the resident macrophages of the brain and spinal cord. They act as the first and main form of active immune defense in the central nervous system. Microglia constantly survey the brain environment for signs of injury or disease and can become activated to perform phagocytosis and release cytokines.