A pacemaker is a device that is implanted in the chest to assist in controlling and regulating heartbeats after a heart attack or heart failure. The pacemaker sends electrical signals to your heart to stabilize the beat.
A pacemaker is made up of two parts:
A pulse generator which is a device that generates a series of pulses. A battery and the electrical circuitry that controls the rate of electrical pulses supplied to the heart.
Electrodes which are one to three flexible, insulated wires that are implanted in one or more chambers of the heart, each delivering electrical pulses to regulate the heart rate.