Aqua regia is primarily used to produce chloroauric acid, the electrolyte in the Wohlwill process for refining the highest quality (%) gold. Aqua regia is also used in etching and in specific analytic procedures. It is also used in some laboratories to clean glassware of .