Describe the function of melanocytes

Describe the function of melanocytes.