UVB rays are also dangerous, causing sunburns, cataracts (clouding of the eye lens), immune system damage, and contributing to skin cancer.Melanoma, the most dangerous form of skin cancer, is thought to be associated with severe UVB sunburns that occur before the age of 20.