Saying something like rain serves a purpose is backwards. Plants have evolved to survive in conditions that include rain, rain has not been deployed to serve a purpose for plants. There may be other conditions that are easier for plants to thrive in.