melanin is a special pigment of the epidermis. it helps protect the body from the sun's radiation. this pigment contributes to the color of the skin and is produced deep within the layers of the epidermis. it is created from amino acid tyrosine it help our skin to protect from the sun.