Pergunta de entrevista da empresa Morgan Stanley

what is the difference between stack and heap