Atrial fibrillation is a dangerous type of arrhythmia and one of the leading risk factors for stroke.