There are three main types of skin cancer. Melanoma is a type of skin cancer that develops in skin cells called melanocytes, which produce the pigment in your skin. Melanoma is not the most common type of skin cancer, but it is considered the most dangerous because it can spread quickly through the body. Non-melanoma skin cancers include squamous cell carcinoma and basal cell carcinoma, which develop in other types of skin cells.