Atrial fibrillation refers the state of the human heart that its upper chambers tremble instead of beating frequently. This arrhythmia…