These instruments are implanted in the chest to regulate the heartbeat and deliver an electrical shock if needed.