Skin cancer is a type of cancer that begins in the cells of the skin. It is the most common form of cancer globally and arises mainly due to prolonged exposure to ultraviolet (UV) radiation from the sun or tanning beds. There are three major types of skin cancer: basal cell carcinoma, squamous cell carcinoma, and melanoma, with melanoma being the most aggressive and deadly form.