Pergunta de entrevista da empresa noon

what is the difference between stack and queue ?