CIA interview question

What does the heap do in Java?