In the legs, an ultrasound can show the blood flow in the arteries and can help detect blood clots in the veins.