Amazon interview question

Difference between stacks and queues