Batteries convert chemical energy into electrical energy