Transfemoral amputation is a surgical procedure that involves the removal of the leg at a level between the knee and hip joints.