Ultraviolet (UV) rays are invisible rays that come from the sun and can burn skin, hair and eyes if exposed too much. While harmful in excess, UV rays serve useful purposes like enabling vitamin D production and use in sterilization. Prolonged sun exposure increases skin cancer risk, so protection like sunscreen, clothing and sunglasses is recommended. UV rays constitute about 10% of sunlight and are both beneficial yet dangerous if not properly safeguarded against.