A Transesophageal Echocardiogram (TEE) is a diagnostic test that uses ultrasound waves to produce detailed images of the heart. Unlike a standard echocardiogram, which is performed by placing a transducer on the chest, TEE involves inserting a probe down the esophagus, which lies close to the heart. This allows for clearer and more precise images.