A cancer that develops in the lungs, often as a result of exposure to tobacco smoke and other carcinogens.