Melanocytes are cells that produce the pigment and are also called melanin cells or pigment cells.They appear in the dermis, sweat glands, sebaceous glands, and meninges,and other tissues, are distributed in the basal layer of the epidermis. They synthesize melanin by intracellular tyrosinase and have the function of preventing UV-induced damage to somatic cells.