The scan uses high-frequency sound waves to evaluate soft-tissue abnormalities such as abnormal masses, injury, and infections including cellulitis, abscess, and necrotizing fasciitis. Your doctor may advise this test to assess cysts and lymph nodes. The scan is also used to locate foreign bodies.