Alkyl chloride or bromide undergo substitution and get converted to an alkyl iodide on treatment with a solution of sodium iodide in acetone. e.g. CH3CH2CH2Br+NaI
acetone
───────▶
CH3CH2CH2I+NaBr This reaction is also known as Finkelstein Reaction.