Should be simple to keep this straight but I always falter at connecting a positive to a negative.
The illustration on the left would give you forty eight volts if each battery was twelve volts. Amperage would not increase when connected in series.
On the right it would maintain twelve volts but increase the amperage or time that you could draw down the energy in those batteries.