An echocardiogram can assess heart function and detect and track the progression of heart disease and heart masses. Most importantly, It can help diagnose atherosclerosis, cardiomyopathy, congenital heart defects, and heart tumors.