Most leaves have stomata , which open or narrow to regulate the exchange of carbon dioxide , oxygen , and water vapor with the atmosphere .
They regulate carbon dioxide , oxygen , and water vapor exchange with the atmosphere .