Lung cancer patients with chronic obstructive pulmonary disease benefit from anti-PD-1/PD-L1 therapy. Here, CD274 is linked to lung cancer.