An extrapleural pneumonectomy is a surgical procedure that removes a lung and all surrounding tissues. It was first developed as a way to treat tuberculosis, but it has since been improved and adapted to fit other needs.