Cancer that forms in the tissues of the skin. When cancer forms in cells that make pigment, it is called melanoma. When cancer forms in cells that do not make pigment it may begin in basal cells (small, round cells in the base of the outer layer of skin) or squamous cells (flat cells that form the surface of the skin).