As the waves touch the heart, their echo bounces back to the device. The speed and intensity of the echo carries information about the heart tissue. This information is made into an image.