This is the first time we have used WGCNA combined with immune infiltration analysis to identify potential molecular markers associated with CD8+ T cells in CAD while further exploring their possible immune mechanisms in CAD and different cancers. This evidence concerns the gene CD8A and cancer.