In the typical nonrebreather mask, the patient inhales 100% oxygen from the reservoir, but during exhalation, a rubber flap valve diverts exhaled breath to the environment, preventing admixture of carbon dioxide and water vapor with the inspired oxygen.