When ultrasound technology is used to assess the structure and function of the heart, it is called echocardiography. Cardiac assessment is frequently a component pulmonary diagnostic work-up. Anatomically the heart and lungs function in series, this explains why dysfunction in one system often adversely affects the other.