Electrical discharge machining (EDM) is an unconventional machining process that uses electrical sparks to erode unwanted material from a workpiece by discharging electricity between an electrode tool and the workpiece, separated by a dielectric fluid. EDM can machine hard materials and complex shapes by using individual sparks that briefly heat the material to plasma temperatures without direct contact. The process works by concentrating electrons and ions in the dielectric fluid gap between the tool and workpiece, causing sparks that thermally erode unwanted material. EDM enables precision machining of difficult shapes for aerospace and medical applications but has low material removal rates and leaves a rough surface finish.