Plants depend on osmosis to move water from their roots to their leaves. The further toward the edge or the top of the plant, the greater the solute concentration, which creates a difference in osmotic pressure. This is known as osmotic potential, which draws water upward. In addition, osmosis protects leaves against losing water through evaporation.
Crucial to the operation of osmosis in plants are "guard cells," specialized cells dispersed along the surface of the leaves. Each pair of guard cells surrounds a stoma, or pore, controlling its ability to open and thus release moisture.
In some situations, external stimuli such as sunlight may cause the guard cells to draw in potassium from other cells. This leads to an increase in osmotic potential: the guard cell becomes like a person who has eaten a dry biscuit, and is now desperate for a drink of water to wash it down. As a result of its increased osmotic potential, the guard cell eventually takes on water through osmosis. The guard cells then swell with water, opening the stomata and increasing the rate of gas exchange through them. The outcome of this action is an increase in the rate of photosynthesis and plant growth.
When there is a water shortage, however, other cells transmit signals to the guard cells that cause them to release their potassium. This decreases their osmotic potential, and water passes out of the guard cells to the thirsty cells around them. At the same time, the resultant shrinkage in the guard cells closes the stomata, decreasing the rate at which water transpires through them and preventing the plant from wilting.