Question d’entretien chez Morgan Stanley

what is the difference between stack and heap