White matter is found in the deeper tissues of the brain (subcortical). It contains nerve fibers (axons), which are extensions of nerve cells (neurons). Many of these nerve fibers are surrounded by a type of sheath or covering called myelin. Myelin gives the white matter its color. It also protects the nerve fibers from injury. It improves the speed and transmission of electrical nerve signals along extensions of the nerve cells called axons.
By comparison, gray matter is tissue found on the surface of the brain (cortical). It contains the cell bodies of neurons, which give gray matter its color.
Brat DJ. Normal brain histopathology. In: Perry A, Brat DJ, eds. Practical Surgical Neuropathology: A Diagnostic Approach. 2nd ed. Philadelphia, PA: Elsevier; 2018:chap 2.
Kumar V, Abbas AK, Aster JC, Deyrup AT, Das A. Central nervous system and eye. In: Kumar V, Abbas AK, Aster JC, Deyrup AT, Das A, eds. Robbins & Kumar Basic Pathology. 11th ed. Philadelphia, PA: Elsevier; 2023:chap 21.
Wen HT, Kadri PAS, Mussi ACM, de Oliviera E, Rhoton AL. Surgical anatomy of the brain. In: Winn HR, ed. Youmans and Winn Neurological Surgery. 8th ed. Philadelphia, PA: Elsevier; 2023:chap 2.