What is Garbage Collection?
Garbage collection is a mechanism for automatically freeing up memory that is no longer being used by a program. It is a common feature of modern programming languages and runtime environments, including Python, Java, and the .NET framework.