How a lithium-ion battery stores sunshine for the night: lithium ions shuttle between graphite and metal oxide inside, while electrons do the work in the wire outside. This cutaway needs JavaScript.