Which one of the following electromagnetic radiations in the sunlight

Which one of the following electromagnetic radiations in the sunlight is considered to be the main cause of skin cancer?

X-ray
Ultraviolet ray
Visible light
Infrared radiation
This question was previously asked in
UPSC Geoscientist – 2022
Ultraviolet (UV) radiation from the sun is the primary cause of skin cancer. UV rays, specifically UVB and UVA, can damage the DNA in skin cells.
Exposure to UV radiation can lead to mutations in skin cells, which can result in the development of skin cancers, including melanoma, basal cell carcinoma, and squamous cell carcinoma.
While other electromagnetic radiations have different effects (e.g., infrared causes heat), UV radiation is the most harmful component of sunlight in terms of skin damage and cancer risk. The ozone layer absorbs most of the sun’s harmful UV radiation, but some reaches the Earth’s surface.