When it rains, the rain moistens the soil. The plant's roots take in the water from the soil, and the water then goes through the stem and leaves of the plant. This helps in the process of photosynthesis, because the plant needs water to grow. If the plant can't grow, photosynthesis cannot occur.