An autoimmune condition in which the immune system attacks the central nervous system, leading to demyelination.