We found a significant decrease in the proportion of Exhausted cells and B cells and an increase in the proportion of Central_memory cells, Th2 cells, CD4_naive cells, iTreg cells, Tr1 cells, and nTreg cells in the cardiac tissue samples of AF patients with HF compared with AF patients without HF. This evidence concerns the gene CD4 and atrial fibrillation.