A pacemaker is a small device that's placed in the chest or abdomen to help control abnormal heart rhythms.[20] They work by sending electric pulses to the heart to prompt it to beat at a rate that is considered to be normal and are used to treat patients with arrhythmias. They can be used to treat hearts that are classified as either a tachycardia that beats too fast, or a bradycardia that beats too slow.