Electrical discharge machining (EDM), sometimes colloquially also referred to as spark machining, spark eroding, burning, die sinking, wire burning or wire erosion, is a manufacturing process whereby a desired shape is obtained using electrical discharges (sparks).