Melanoma is a type of skin cancer that originates in the melanocytes, the cells responsible for producing melanin, the pigment that gives skin its color. Although less common than other types of skin cancer, melanoma is more dangerous because it is more likely to spread to other parts of the body if not detected early.