Accordingly, this study intended to explore the association of Th1, Th2, and Th17 cells as well as their corresponding cytokines [including interferon (IFN)-γ, IL-4, and IL-17A] with anxiety, depression, and cognitive impairment in elderly gastric cancer patients. The gene discussed is IFNG; the disease is major depressive disorder.