Pergunta de entrevista da empresa Akamai

Give an example of LIFO and FIFO data structures and give technical use-cases of these data structures (for example, stack which is a LIFO data structure can be used to implement Undo feature).