Sunlight decomposes silver chloride (AgCl) into grey silver metal (Ag) and chlorine gas. This decomposition is an endothermic reaction.