The EXCESS water exits through the stomata in a process called transpiration. So, stomata do not directly participate in PHOTOSYNTHESIS. However, the stomata CONTROL the influx of carbon dioxide, a critical component of photosynthesis, and allow the excess OXYGEN to EXIT.