Capgemini Interview Question

What is a stack and how does it work?