what is the purpose of iodoform reaction
The reaction of iodine and base with methyl ketones is so reliable that the  iodoform test  (the appearance of a yellow precipitate) is used to probe the presence of a methyl ketone. pale yellow, crystalline, volatile substance, it has a penetrating odor (in older chemistry texts, the smell is sometimes referred to as the smell of hospitals) and, analogous to chloroform, sweetish taste. It is occasionally used as a disinfectant.