When benzene diazonium chloride is treated with cuprous chloride in HCl, chlorobenzene is formed. This reaction is called Sandmeyer reaction. In this reaction, the diazonium group is replaced by chloro group. Sandmeyer reaction is used to replace the diazonium group with chlorine, bromine or cyano group.