Pregunta de entrevista de Anduril

What is the difference between a heap and a stack?