An echocardiogram can also give physicians other estimates of heart function, such as a calculation of the cardiac output, ejection fraction, and diastolic function (how well the heart relaxes).Echocardiography is an important tool in assessing wall motion abnormality in patients with suspected cardiac disease. It is a tool which helps in reaching an early diagnosis of myocardial infarction showing regional wall motion abnormality of the heart. Also, it is important in treatment and followup in patients with heart failure, by assessing ejection fraction.Echocardiography can help detect cardiomyopathies, such as hypertrophic cardiomyopathy, dilated cardiomyopathy, and many others. The use of stress echocardiography may also help determine whether any chest pain or associated symptoms are related to heart disease. The biggest advantage of echocardiography is that it is not invasive (does not involve breaking the skin or entering body cavities) and has no known risks or side effects.[4] Not only can an echocardiogram create ultrasound images of heart structures, but it can also produce accurate assessment of the blood flowing through the heart by Doppler echocardiography, using pulsed- or continuous-wave Doppler ultrasound. This allows assessment of both normal and abnormal blood flow through the heart. Color Doppler, as well as spectral Doppler, is used to visualize any abnormal communications between the left and right sides of the heart, any leaking of blood through the valves (valvular regurgitation), and estimate how well the valves open (or do not open in the case of valvular stenosis). The Doppler technique can also be used for tissue motion and velocity measurement, by tissue Doppler echocardiography.