ControlUp interview question

How Garbage Collection in .NET works