The positive terminal of the first battery is connected to the positive terminal of the second battery, the positive terminal of the second is connected to the positive of the third, etc. and The negative terminal of the first battery is connected to the negative terminal of the second battery, the negative terminal of the second is connected to the negative of the third, etc. So the batteries are connected: + to + to + and - to - to -. In this configuration, the capacity is the sum of the capacities of the individual batteries and voltage is unchanged.

