Domanda di colloquio di Infosys

what is stack? On what concept does queue work?