metals are often extracted through reduction of carbon, unless theyre more reactive than carbon, in which case they are extracted through electrolysis- though, this is expensive because it needs a lot of energy. so if carbon extraction is possible, it is usually done instead