Are you concerned about the batteries themselves (like safety related) or how the whole electrical system works together? Many responses here are just talking about the batteries, but I think you are taking about the whole system including driver and LEDs, which can be more confusing and complicated.
Here is a starting guide for different driver types.