What happens when silver chloride is exposed to sunlight?

What happens when silver chloride is exposed to sunlight? Write a chemical equation for this reaction. Also give one use of such a reaction.
Answer:
When silver chloride is exposed to light, it decomposes to form silver metal and chlorine gas.
image
This reaction is used in black and white photography.