Ultraviolet light and other potential causes
Much of the damage to DNA in skin cells results from ultraviolet (UV) radiation found in sunlight and in the lights used in tanning beds. But sun exposure doesn't explain skin cancers that develop on skin not ordinarily exposed to sunlight. This indicates that other factors may contribute to your risk of skin cancer, such as being exposed to toxic substances or having a condition that weakens your immune system.