Pergunta de entrevista da empresa Morgan Stanley

What is the difference between a stack and a heap?