{stack} is about implementing and/or using stacks in (La)TeX. A stack is a data structure where new elements are added on top and are removed only in the reverse order.
A typical example for use of a stack in LaTeX is the filename stack created by the LaTeX core. The currfile package also creates its own filename stack.
See Stack on Wikipedia for a detailed definition of a stack.