Anduril interview question

What is the difference between a heap and a stack?