Pergunta de entrevista da empresa S&T

What is the difference between a stack and a heap?