Quinidine is a medication derived from the bark of the cinchona tree. It is classified as a Class I antiarrhythmic agent, which works by blocking sodium channels and prolonging the cardiac action potential. This mechanism of action helps to restore normal heart rhythms in conditions such as atrial fibrillation and ventricular tachycardia.