It also is used to assess the structure and function of the heart valves; detect valvular vegetations and intracardiac thrombus; and provide an estimate of pulmonary arterial pressure and central venous pressure.