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 change anything anywhere.
Analogy: Imagine a stack as a stack of plates: you can only put a new plate on top or take the top plate off. An array is like a shelf where you can pick or place plates anywhere.
Array: [1, 2, 3, 4, 5]
Stack: 5 ↑ (top)
4
3
2
1 (bottom)