CT scan, the patient lies on a table that moves through a doughnut-shaped machine called a CT scanner. The scanner consists of an X-ray tube that rotates around the head, emitting narrow beams of X-rays. Detectors on the opposite side of the scanner measure the number of X-rays that pass through the head and create a series of images.