Amazon Interview Question

Describe what a stack does.