Stomatal pores in plants regulate the amount of water and solutes within them by opening and closing their guard cells using osmotic pressure. In order for plants to produce energy and maintain cellular function, their cells undergo the highly intricate process of photosynthesis .