In histology, acid phosphatase is used as a marker enzyme to identify specific cell types and tissues. Its activity can be visualized using histochemical techniques, which are important for diagnosing certain diseases. For instance, elevated levels of acid phosphatase are often associated with prostate cancer, making it a valuable diagnostic tool.