In histology, CD31 is often used as a marker for endothelial cells. It is highly valuable in identifying and studying blood vessels and vascular structures in various tissues. Immunohistochemistry techniques employing anti-CD31 antibodies can reveal the presence and distribution of endothelial cells within tissue samples, aiding in the diagnosis of vascular tumors and other pathologies.