This test uses sound waves to create an image of your heart as it beats. It is a noninvasive exam, which includes an ultrasound of your chest, shows detailed images of your heart’s structure and function.