In this study, we determined the effect of TACR2 on the immune microenvironment of prostate cancer by examining the content of immune cells. The gene discussed is TACR2; the disease is prostate cancer.