The resazurin assay is a colorimetric and fluorometric method used to evaluate cell viability and cytotoxicity. Resazurin, a blue dye, is reduced to resorufin, a pink, fluorescent compound, by metabolically active cells. This transformation provides a quantitative measure of cell viability.