The results demonstrated that shorter distances between CD4+Tregs and tumor cells in IM and TC (IM, 55.50 vs. not reached, P < 0.001; TC, 33.10 vs. not reached, P < 0.001), or between CD4+Tregs and CD4+ T cells in IM (94.47 vs. not reached, P = 0.023), were associated with poorer patient outcomes, which were in accordance with the mNND from the CD8+Treg to tumor cells in IM and TC (IM, 55.50 vs. not reached, P = 0.001; TC, 65.03 vs. not reached, P = 0.001), and to CD4+T cells in IM (20.30 vs. not reached, P = 0.001). Here, CD8A is linked to neoplasm.