An MRI scan of the hip uses magnetic fields and radio waves to generate detailed images of the hip joint, bones, cartilage, ligaments, and surrounding soft tissues.