A pacemaker is a small device consisting of a long lasting battery with a generator and two wires. It works by displacing the heart’s defective natural pacemaker function.