The study of how the lung tissue, airways, and mechanics of the chest wall work together to facilitate breathing.