Generally, CD4+ TRM cells in viral infection and tumors mainly secreted IFN-γ, while CD4+ TRM cells induced by bacterial or fungal infection mainly expressed IL-17A. Here, IFNG is linked to fungal infectious disease.