When heated with iodine to about 500 K, titanium metal forms a volatile iodidie `(TiI_(4))` leaving behind the impurities. Upon further heating to 1200 K, `TiI_(4)` decomposes to give pure titatnium.
`Ti+2I_(2) overset(500 K) to underset("Volatile")(TiI_(4)), TiI_(4) overset(1200 K) to underset("Pure")(Ti) +2I_(2)`