Undo Mechanisms ← Back to Stacks Undo/redo functionality naturally maps to stacks. Each action is pushed onto the undo stack; undoing pops it and pushes to the redo stack. Used in text editors, drawing applications, and transaction systems. property stacks