Immunohistochemical (IHC) testing for inhibin aims to detect this protein hormone, which is naturally produced by granulosa cells in the ovary and Sertoli cells in the testis. It is a highly sensitive and specific marker for tumors arising from these cells, such as granulosa cell tumors in the ovary and Sertoli-Leydig cell tumors in the ovary and testis, helping to differentiate them from common epithelial and serous tumors of the ovary.