Ultrasound waves are used to examine the functionality of the heart and diagnose heart diseases and disorders.