During an ultrasound of the knee joint/leg, high-frequency sound waves are used to create images of the structures within and around the knee joint, including the bones, cartilage, tendons, ligaments, and soft tissues. These images can help detect abnormalities such as inflammation, fluid accumulation, or tears in the soft tissues.