It helps to diagnose the causes of pain, inflammation and infection in the  internal organs of the body, as well as to examine the fetus (fetus) in pregnant women. In babies, doctors often use ultrasound to examine the brain, hips, and spine.