Amiodarone is an antiarrhythmic medication primarily used to treat and prevent a variety of serious cardiac dysrhythmias, including ventricular tachycardia and atrial fibrillation. It works by prolonging the phase of the cardiac action potential, which helps to restore normal heart rhythm.