Explain haloform reaction.
Methyl Ketones CH3COR on oxidation with X2/NaOH (X = Cl, Br, I) gives sodium salt of carboxylic acid with one carbon atom less. The CH3 group bonded to carbonyl group is converted to haloform, CHX3'. With iodine in NaOH, a yellow precipitate of iodoform CHI3 is obtained (iodoform test).