An echocardiogram uses sound waves (ultrasound) to create a picture of the heart. A machine records important information about the heart’s shape, movement, chambers and valves.