A device that produces electricity; may have several primary or secondary cells arranged in parallel or series.