CACI International Interview Question

Explain the difference between the stack and heap