Lung function and gas exchange