What is the meaning of Cardioversion?

The treatment of cardiac arrhythmia, either with medication or by use of a machine (a cardioverter) that delivers a controlled electric current.

Source: wiktionary.org