Nonmelanoma skin cancer can refer to any cancer that forms in the basal, squamous or Merkel cells of the skin. Melanoma is a cancer that develops in the skin's melanocytes. Let's take a closer look at these skin cancers and how they differ from one another.