A healthcare provider may order a transesophageal echocardiogram, or TEE, in response to poor echo images or before heart surgery. The transducer is placed directly behind the heart, enabling it to obtain high-quality images of all sides of the heart.