A major study has shown that a drug targeting the body’s disease-fighting immune system may improve survival for the most common form of lung cancer. These drugs have transformed treatment of melanoma, the deadliest skin cancer.