Heap memory is a part of memory allocated to JVM, which is shared by all executing threads in the application.