An ATP assay is a biochemical test used to measure the concentration of adenosine triphosphate (ATP) within a sample. ATP is the primary energy carrier in cells, making its measurement crucial for assessing cellular metabolism, viability, and overall health. In the context of histology, ATP assays help in understanding cellular activities and are often used in tissue samples to determine the metabolic state of cells.