How does the human body convert food into electricity?
It doesn’t. Electrodynamic phenomena in the human body are accomplished by creating ionic gradients (resting potentials) and then triggering a dynamic return to equilibrium by opening ion channels (action potentials). Electricity is the flow of electrons in a conductor. The biological equivalent in a human body is ionic flow, and it requires no conductor. The energy for this, however, derives from ATP which is consumed at Na-K-ATPase type molecular pumps on neuron cell membranes (for example). Of course, this ATP derives from glucose which derives from carbohydrate, lipid and protein food sources.