IHC testing is typically performed to aid in the diagnosis of cancer or other diseases. By identifying specific proteins in a tissue sample, IHC can help identify the type and stage of cancer, guide treatment decisions, and monitor disease progression.