Herein, we found that regulating NAD levels by targeting NAMPT in gastric cancer cells could alter ATP and extracellular adenosine levels, hence improving the antitumor function of CD8+ T cells in the tumor microenvironment. The gene discussed is CD8A; the disease is gastric cancer.