Pope Leo XIV underwent surgery Tuesday that confirmed that he has lung cancer, and doctors removed the lower lobe of his right lung, the Vatican said.