Another way to say "umbrellas are used when it rains" is "An umbrella is of use when it is raining"