The knee joint joins the thigh bone to the lower leg bone.