Under inflammatory conditions in patients with T2DM, the number of CD8+T lymphocytes is reduced, accompanied by the imbalance in lymphocyte function and subpopulation ratio, thereby decreasing immunity. The gene discussed is CD8A; the disease is type 2 diabetes mellitus.