Bypass surgery involves creating alternative paths for blood flow to the heart using arteries and veins from other parts of the body.