Motorola Solutions interview question

Describe how a stack works and give an example