Carbon Dioxide and water vapour are excreted from the lungs by a combination of exhalation and diffusion (explained on the respiration page).
Ccarbon dioxide and water vapor that is produced by cellular respiration is released through exhalation.