The knee joint joins the thigh to the lower leg.