As we mentioned in Chapter 31, the nervous system (brain, neurons, etc.) generates electricity in order to work correctly, here is an interesting article on electricity and the brain:
http://www.wired.com/2014/05/what-happens-if-you-apply-electricity-to-the-brain-of-a-corpse/?mbid=social_fb