Atrial fibrillation (AF) is a common cardiac arrhythmia characterized by an irregular and often rapid heart rate. This condition can lead to blood clots, stroke, heart failure, and other heart-related complications. It occurs when the upper chambers of the heart (the atria) beat irregularly, which can inhibit blood flow to the ventricles.