Arrhythmias are irregularities in the heart's rhythm, which can range from harmless to life-threatening. They occur when the electrical impulses that coordinate the heartbeats don't work properly, causing the heart to beat too fast, too slow, or erratically.