Lung cancer is one of the most frequently diagnosed cancers and the leading cause of cancer-related deaths worldwide with an estimated 2 million new cases and 1·76 million deaths per year. Substantial improvements in our understanding of disease biology, application of predictive biomarkers, and refinements in treatment have led to remarkable progress in the past two decades and transformed outcomes for many patients. This seminar provides an overview of advances in the screening, diagnosis, and treatment of non-small-cell lung cancer and small-cell lung cancer, with a particular focus on targeted therapies and immune checkpoint inhibitors.