The separation of metals from ore or from alloys through an electrical process, or the forming of alloys and purification of metals through an electrical process. See also metallurgy.