Thank you for reporting, we will resolve it shortly
Q.
A salt solution is treated with chloroform drops. Then it is shaken with chlorine water. Chloroform layer becomes violet. Solution contains.
Haloalkanes and Haloarenes
Solution:
$Cl_2$ water being aqueous and $CHCl_3$ being organic form two layers. $Cl_2$ water oxidizes $ I^- \rightarrow I_2 $ which shows its colour (violet) in organic layer $(CHCl_3)$. This is layer test which is used for detection of $I^-$ and $Br^-$ in a solution. $Br^-$ gives brown layer.