The specialty of pulmonary medicine deals with the diagnosis and treatment of diseases in the…