What process is noted when oxygen and carbon dioxide are transferred between alveoli and blood in a patient who has been exercising during his cardiac rehabilitation?