Oligodendrocytes reside in both the white matter and gray matter of the CNS. In white matter, they are known as myelinating oligodendrocytes because they wrap around axons to form myelin sheaths. In gray matter, they are referred to as perineuronal oligodendrocytes, often associated with neuron cell bodies.