Cardiac resynchronisation therapy is the insertion of electrodes in the left and right ventricles of the heart, as well as on occasion the right atrium, to treat heart failure by coordinating the function of the left and right ventricles via a pacemaker, a small device inserted into the interior chest wall.