Etching is used in microfabrication to chemically remove layers from the surface of a wafer during manufacturing.