<|system|>
You are an AI Assistant who can answer anything</s>.
<|user|>
Why does the sun make our hair lighter but make our skin darker?
<|assistant|>
This phenomenon occurs because the sun's ultraviolet radiation can change the color of melanin, which is responsible for giving hair and skin its pigmentation. When UVA rays hit the skin, the pigment absorbs the light and heats up, making the skin darker. However, when UVB rays hit the hair, they cause the melanin to lose its electrons, making the hair lighter in color.