All dry cell batteries continually produce a small amount of power, even when they are not in a device. One byproduct of this process is hydrogen gas, which builds up pressure inside the sealed casing. As batteries age, the trapped gas and other chemicals leak through the seams.