The femur is the thighbone in tetrapods. It connects to the pelvis (hip) at the upper end and to the knee at the lower end. It connects with the hip by a ball-and-socket joint which allows freedom of movement.