Chlorine is reacted with seawater to change the iodide to iodine .
The hydrogen iodide ( HI ) is reacted with chlorine to precipitate the iodine .