Sudden cardiac death (SCD) is a major cause of mortality secondary coronary artery disease (CAD) in modern societies. To avoid and create aware on that we are presenting a paper on idea about brain wave, brain and heart relation with this we can predict cardiac arrest. By this we can automatically operate defibrillator with setting a threshold value to avoid sudden cardiac death.