It involves growing plants in the soil that contains the metal ions. The plants take up the metal ions from the soil, but the plants can't get rid of the metal so the metal builds up. The plants are then harvested and burned up. The ash formed contains the metal compounds.