Refine re·fine /rəˈfīn/ verb:

To remove impurities via a clean industrial process whereby desirable metals can be collected for reuse.

“The old circuit boards were refined for their precious metals”