Flakiness is achieved through lamination (the process of creating alternating layers of dough and fat). During baking, the fat melts and releases steam, separating the layers and producing a crisp, flaky structure.