This is an oxidation-reduction (redox) reaction:
2 HI + 2 e- → 2 H0 (reduction)
2 I-I - 2 e- → 2 I0 (oxidation)
H2O is an oxidizing agent, KI is a reducing agent.
Reactants:
Products: