It’s pretty cool to see the purple “smoke” from the reaction. The overall chemical reaction is:
Zn + I2 –> ZnI2
The purple smoke is actually iodine subliming due to the heat generated by the reaction. The product of the reaction is called Zinc Iodide and is used in radiography applications to enhance contrast.