chemical plant to extract metals from its ore