To better understand the role of AhR in cancer immunotherapy, the correlation between AhR and tumor microenvironment, as well as its relation to immune processes/elements, such as immune cell infiltration, immune inhibitors and stimulators, and the major histocompatibility complex were analyzed. The gene discussed is AHR; the disease is cancer.