Cloudera Interview Question

What are heap and stack? The difference and how they work?