(a) An aqueous solution of chlorine is a mixture of hydrochloric and hypochlorous acids.
Cl2+H2O→HCIHydrochloric acid+HCIOHypochlorous acid
Therefore, it is acidic in nature.
(b) Silver nitrate gives thick white precipitate of silver chloride with HCI.
AgNO3+HCl→AgCl+HNO3
On the other hand, no such precipitates are obtained when AgNO3 solution is treated with HNO3. Therefore, silver nitrate solution can be used to distinguish HCI from HNO3.