Our findings suggested that T cell-related pathways may be associated with the pathogenesis of T2DM and COPD and that SUMF2 is a potential diagnostic marker for T2DM combined with COPD. The gene discussed is SUMF2; the disease is chronic obstructive pulmonary disease.