This is the prospective, observational cohort study to explore the impact of pretreatment emotional distress on survival and the predictive role of peripheral blood metabolic and inflammatory markers in immunotherapy response among treatment-naïve, advanced and inoperable Gastroesophageal Cancer (GEC) and Non-Small-Cell Lung Cancer (NSCLC). Eligible patients were administered first-line treatment with either immune checkpoint inhibitor or a combination of immunotherapy and chemotherapy upon enrollment. This study will have 2 cohorts:
* Cohort 1: A prospective, observational cohort study to explore the impact of pretreatment emotional distress on survival and the predictive role of peripheral blood metabolic and inflammatory markers in immunotherapy response among treatment-naïve, advanced and inoperable GEC patients.
* Cohort 2: A prospective, observational cohort study to explore the impact of pretreatment emotional distress on survival and the predictive role of peripheral blood metabolic and inflammatory markers in immunotherapy response among treatment-naïve, advanced and inoperable NSCLC patients.