Electrosurgery uses high-frequency alternating electrical current to cut, coagulate, or vaporize tissue. It allows for precise cuts with limited blood loss. The current is delivered via an electrosurgery generator to an active electrode and returns through the patient to a neutral electrode. Different waveforms and modes, such as cut, coagulate, and blend, are used depending on the desired tissue effect. Safety features monitor for excess heat buildup and electrode detachment to prevent patient injury.