Infosys interview question

what is stack? On what concept does queue work?