Electrochemical machining (ECM) is an electrolytic process that removes material from a conductive workpiece acting as an anode using a tool acting as a cathode. Material is dissolved from the workpiece and flows away with the electrolyte. ECM can machine hard materials and complex shapes without thermal or mechanical stresses. It provides better surface finishes than conventional machining and EDM. Micro ECM uses smaller gaps and feature sizes for micromachining. Variations include electrochemical jet etching and laser-assisted jet etching for maskless patterning of thin films. The scanning electrochemical microscope also uses electrochemical reactions for high-resolution imaging and local etching.