I'm studying yet.
Is a battery discharging when capacitor connected to it is charging?
Please explain how does it work!
The act of taking current from the battery to charge the capacitor does discharge the battery. However, for reasonable sizes of battery and capacitor, this will result in a very small depletion of charge in the battery.