Electric discharge machining, or EDM for short, involves creating a specific shape within a certain material by using electrical discharges, or sparks.