EPAM Systems Interview Question

How does Garbage collector in .NET work?