CT scans work by using X-rays to create detailed images of the brain and other parts of the nervous system. The patient lies on a table that slides into a large, circular opening of the CT scanner. As the X-ray source rotates around the patient, detectors capture the X-rays that pass through the body. These data are then processed by a computer to create a series of cross-sectional images.