During a SPECT scan, a small amount of a radioactive substance, known as a radiopharmaceutical or tracer, is injected into the patient's bloodstream. The tracer emits gamma rays, which are detected by a gamma camera as it rotates around the patient. These signals are then processed by a computer to create cross-sectional images of the targeted area.