Major surgical procedures on the heart and lungs are performed by a thoracic surgeon. Pulmonologists often perform specialized procedures to get samples from the inside of the chest or inside of the lung. They use radiographic techniques to view vasculature of the lungs and heart to assist with diagnosis.