Referring to a
battery as something that creates
electrical current is not technically accurate.
Such a battery is a group of electrical cells. Each cell produces the current. If wired in series, the voltage is higher. If wired in parallel, a higher current can be sustained.
Standard AA, AAA, C, D sized dry cells are not batteries, though common usage of the term is changing that. (English is a living language.)
The standard 9V size is a self-contained cell battery, providing two contacts from each end of the cells wired in series within. The standard automobile battery is also a group of cells that are combined in parallel to produce the huge current required to drive the starter motor.