Melanoma cells are malignant cells that originate from melanocytes, which are the pigment-producing cells located in the basal layer of the epidermis. These cells are responsible for producing melanin, the pigment that gives skin its color. When melanocytes undergo genetic mutations, they can proliferate uncontrollably and form melanoma, a severe and aggressive form of skin cancer.