The resin within the carbon layers is laced with lithiumions, so that each layer acts like an electrode, causing the positively charged lithiumions to collect in one layer when a voltage is applied, and a current to flow when the sandwich is placed in a circuit.