Electric-discharge machining (EDM) — alternately referred to as die sinking and spark machining — is a process that molds workpieces into particular shapes with electrical sparks. With EDM, current discharges occur between two electrodes, and this removes sections of a given workpiece.
http://www.millingmachinecnc.com/cnc/cnc-tapping/