The capacity of a battery, measured in ampere-hours (Ah), determines how much energy it can store and supply. A 100Ah battery can provide a certain amount of power over a specific duration before needing to be recharged.