EPAM Systems Interview Question

what's garbage collection and Garbage collection types