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