During the ultrasound exam, high-frequency sound waves are used to produce real-time images of the ankle joint and foot. The exam may focus on specific structures, such as tendons, ligaments, muscles, bones, or joints, depending on the reason for the exam.