Vector Technical Illustration of a bike shoe's inserts
The shoe here is constructed with carbon fiber—it's not the least bit flexible! The inserts are used to change the angle of the foot in the shoe so that the knee doesn't flex. With the shoe being affixed to the pedal crank, it's very effective.