A pulmonologist is a doctor of internal medicine who specializes in medical disorders affecting the respiratory system.