How a PET scan works is that a beta-plus emitting tracer is injected into the patient. The positrons emitted annihilates itself with an electron and releases energy in the form of two gamma photons. These gamma photons are detected by a gamma detector.