A lead acid battery when overcharged will produce hydrogen gas. If the ventilation is inadequate a flammable concentration of hydrogen gas may remain in the cell or in the battery enclosure. Any spark can cause the hydrogen explosion, which will damage the battery and its surroundings.