Domanda di colloquio di S&T

What is the difference between a stack and a heap?