Why does the Code require the ventilation of a battery room where batteries are being charged?

Why does the Code require the ventilation of a battery room where batteries are being charged?