The purpose of defibrillation is to stop the chaotic, disorganized contraction of the cardiac cells. Defibrillation is a technique used in emergency medicine to terminate ventricular fibrillation or pulseless ventricular tachycardia. It uses an electrical shock to reset the electrical state of the heart so that it may beat to a rhythm controlled by its own natural pacemaker cells.