Taken together, our results demonstrated that IL-17 and IL-10 could play the protective roles in the progression of PCP and the inverse correlation of them might be mediated by STAT3. The gene discussed is IL17A; the disease is pneumocystosis.