what are the by products of producing this metal through mining