Electrogravimetric analysis involves the quantitative deposition of an analyte onto an electrode through electrolysis. There are two main types: constant current electrolysis, where the current is kept constant and the potential varies, and controlled potential electrolysis, where the potential is kept constant to selectively deposit analytes. Electrogravimetric analysis can be used for quantitative analysis, separation, preconcentration of analytes, and electrosynthesis.