hydrogen used in extraction of metals