Bioleaching uses certain types of bacteria to produce a solution called a "leachate". By leaving these bacteria with a low-grade metal ore, they can produce leachates which have a compound of that metal. Because this is in a solution it can be used in electrolysis to make the pure metal. This only produces small amounts each time, and is repeated to make it economically viable.