What is the function of melanin and how is it produced?
Melanin is a pigment produced by melanocytes within the stratum basale. It serves several functions, including protection against ultraviolet (UV) radiation. Melanin production is stimulated by UV exposure and involves the conversion of the amino acid tyrosine into melanin through a series of enzymatic reactions.