Magnetic resonance imaging (MRI) is a diagnostic procedure that uses a combination of a large magnet, radiofrequencies, and a computer to produce detailed images of organs and structures within the body. An MRI can be used to evaluate CNS disorders by taking pictures of you brain and spinal cord.