A heap (data structure) is a tree that is ordered with respect to depth. Heap can also refer to process memory set aside for dynamic allocation.

- Stackoverflow.com Wiki
1 articles, 0 books.

Both the stack and the heap refer to different locations where memory (typically for variables) is managed, but with significantly different strategies.