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