# Heap

When we are referring to **the heap**, we are referring to the **memory area dynamically allocated at runtime, used to store data that doesn't have a fixed size** or cannot fit in **the stack**.

![](https://1846927083-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj9GKP_mf1AnaApJEIA%2Fuploads%2FFwCZ7OeCltiiM43NDV45%2Fimage.png?alt=media\&token=961b980a-6397-49e7-aa3f-487aacf682e4)

![](https://1846927083-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj9GKP_mf1AnaApJEIA%2Fuploads%2F6ApSbp6B7w303CwvDvBy%2Fimage.png?alt=media\&token=aa330331-0fd1-4ffb-ab23-c96af441d9b8)
