When we write Java code, a lot happens behind the scenes in the JVM. Understanding memory flow helps us write efficient and scalable applications. a. Eden Space → where new objects are created. b.