Mental Model
A stack is like a special box where you can only add or remove items from the top, unlike an array where you can access any item anywhere.
Analogy: Imagine a stack of plates in a cafeteria: you can only take the top plate or add a new plate on top. An array is like a shelf where you can grab any plate from any position.
Array: [1][2][3][4][5]
Stack: 5 (top) ↑
4
3
2
1 (bottom)