Immunohistochemistry is a powerful technique used in histology for cancer diagnostics. It involves the use of antibodies that bind to specific antigens in the tissue. These antigen-antibody complexes are then visualized using a chromogenic or fluorescent label. IHC helps in identifying specific cancer markers, aiding in both the diagnosis and classification of cancer. For instance, the presence of HER2 protein can indicate breast cancer, while PSA is a marker for prostate cancer.