So batteries are just devices that convert chemical energy into electricity.
(batteries; are; just devices that convert chemical energy into electricity) (just devices; convert; chemical energy; into electricity)
batteries just devices
are convert
just devices that convert chemical energy into electricity
chemical energy into electricity