The difference between battery and capacitor structure