Umbrellas are designed to shield from rain or sun.
An umbrella is important because you need to stay dry in rainy days and have shade when sun is too hot.
The word umbrella comes from the Latin word umbra, which means shade. Don't feel strange using it to protect yourself from the sun, that's its original purpose!