Acuity Analytics interview question

Explain the difference between LIFO and FIFO?