SPECT involves the injection of a radiotracer, a substance that emits gamma rays, into the patient's bloodstream. The radiotracer accumulates in the target tissue or organ. A gamma camera then detects the emitted gamma rays and a computer reconstructs the data into three-dimensional images. These images allow for the assessment of physiological functions, such as blood flow and metabolic processes.