The ATP assay commonly uses a luciferase-based bioluminescence reaction, where the enzyme luciferase catalyzes the oxidation of luciferin in the presence of ATP, producing light. The emitted light is then measured using a luminometer, and the intensity of the light correlates with the amount of ATP present in the sample.