Pregunta de entrevista de Infosys

what is stack? On what concept does queue work?