In our study, we discovered that CST2 is closely associated with multiple immune cells, including CAFs, endothelial cells, hematopoietic stem cells, regulatory T cells (Tregs), B cells, macrophages, monocytes, myeloid dendritic cells, and CD8+ T cells, in pan-cancer. This evidence concerns the gene CD8A and cancer.