The hydrogen can go out of the bottle at the top. Next to the valve, there is platinum. The hydrogen gas has to bypass the platinum. The hydrogen and the oxygen from the air react because of the catalytic effect of platinum. The gas mixture (called oxyhydrogen) then burns, because the reaction is exothermic, and produces water.