Dear 9th grade science,
I am going to tell you how a battery uses electrical energy when it is charging.
To charge a battery you have to have an outlet, for example a phone or any electronic.
The outlet has electricity in it so when you charge your battery you plug your plug in, into the outlet. The electricity travels through the plug in to the wire, then it travels to the battery, after it travels through the battery the battery uses electricity to get chemical energy and the chemical energy make the battery full so it can work!
Be Good For Your Sub.
Sincerely, Ms. Potato!!