During photosynthesis, the plants keep their stomata open to allow the exchange of oxygen and carbon dioxide with the air. However, this also causes water to move out of the leaves by diffusion in a process called transpiration. This causes loss of water from the plants and a high rate of transpiration may cause the wilting of leaves in plants. So, transpiration and photosynthesis can be said to be a compromise in plants.