Question d’entretien chez Infosys

what is a garbage collector in Java