3 major steps involve in the extraction of metals