A metal salt MX when exposed to light, split up to form metal M and a gas X2. Metal M is used in making ornaments whereas gas X2 is used in making bleaching powder. The salt MX is itself used in black and white photography. (i) Identify metal M and gas X2

A metal salt MX when exposed to light, split up to form metal M and a gas X2. Metal M is used in making ornaments whereas gas X2 is used in making bleaching powder. The salt MX is itself used in black and white photography.
(i) Identify metal M and gas X2?
(ii) Mention the type of chemical reaction involved when salt MX is exposed to light.

(i) The metal is silver (Ag) and gas is chlorine (Cl2).
(ii) The chemical reaction involved is decomposition reaction.