HP Inc. interview question

What is the difference between a stack and heap?