which function do the stomata perform in photosynthesis

absorbing water
capturing light energy
gas exchange
producing glucose

Gas exchange. Stomata regulate the exchange of gases, such as carbon dioxide and oxygen, between the plant and the atmosphere during photosynthesis.