Infosys Interview Question

what is stack? On what concept does queue work?