4 C + 6 SiO2 + 2 Ca3(PO4)2 → 4 CO + P4 + 6 CaSiO4
This is an oxidation-reduction (redox) reaction:
4 PV + 20 e- → 4 P0 (reduction)
4 C0 - 8 e- → 4 CII (oxidation)
6 SiIV - 12 e- → 6 SiVI (oxidation)
Ca3(PO4)2 is an oxidizing agent, C is a reducing agent, SiO2 is a reducing agent.