Haloform reaction:
Chloroform is prepared in the laboratory by the reaction between ethyl alcohol with bleaching powder followed by the distillation of the final product chloroform. Bleaching powder acts as a source of chlorine and calcium hydroxide.
The reaction take place in 3 steps.
Step 1:
Oxidation-
Step 2:
Chlorination-
Step 3:
Hydrolysis