When chlorine reacts with ethyl alcohol in the presence of $NaOH$, chloroform is obtained as a final product.
$CH _{3} CH _{2} OH + Cl _{2} \xrightarrow{\text { Oxidation }}\underset{\text{acetaldehyde}}{CH_3CHO +2HCl}$
$CH _{3} CHO +3 Cl _{2} \xrightarrow{\text { Chlorination }}\underset{\text{chloral}}{CCl_3CHO} +3HCl$
$CCl _{3} CHO + NaOH \xrightarrow{\text { Hydrolysis }}\underset{\text{chloroform}}{CHCl_3} +HCOONa$