A device which converts chemical energy into electrical energy is called———? A. Motor B. Battery C. Moving-coil meter D. Generator