The cathode of a lithium ion phosphate battery is made of LiFePO4 and that upon discharging, it is transformed to FePO4. The Anode is made of graphite.
The reactions for the discharge cycle are given as follows:
Cathode: LiFePO4 ⟶ FePO4 + Li+ + e-
Anode: Li+ + C6 +e- ⟶ LiC6
I find this answer difficult to grasp because this shows electrons being accepted in the anode. Anode should be oxidation hence it should show a loss of electrons. Can someone please clarify the reasoning behind these reactions?