The process or act of extracting a metal from its ore and refining it is…