Mental Model
A stack is a collection where the last item added is the first one taken out. It works like a pile where you add and remove items only from the top.
Analogy: Imagine a stack of plates in a cafeteria. You put new plates on top and take plates from the top only. You cannot take a plate from the middle or bottom without removing the ones above it first.
Top -> [ 3 ]
[ 2 ]
[ 1 ]
null