The shoulder joins the arm to the rest of the body, whereas the hip joins the leg to the rest of the body.