A transthoracic echocardiogram (echo) is an imaging test. It helps your doctor assess your heart. Here's how it works.