The function of the pigment cell is to shield the light ... evolved in the course of evolution. What was the advantage of seeing light and dark and being able to distinguish light from dark?