Echocardiography is a test that uses sound waves to produce live images of your heart. The image is anechocardiogram. This test allows your doctor to monitor how your heart and its valves are functioning.