Pacemakers are devices that monitor and regulate the rhythm of the heart. Implanted beneath the skin, they transmit electrical impulses to stimulate the heart if it beats too slowly.