A pulmonologist specializes in the function and disease of the lungs. Pulmonologists will help manage a patient before and after the surgery.