They are also strongly linked to skin cancer. UVB rays, which affect skin's top layer, cause skin cancer and most sunburns. Although UVA and UVB rays pose the greatest risk for sun damage, people who work with welding torches or mercury lamps may be exposed to UVC rays, the most dangerous type of UV radiation.