Which function do the stomata perform in photosynthesis?

Gas exchange
Capturing light energy
Absorbing
Producing glucose

The stomata perform gas exchange in photosynthesis.