Rippling interview question

Explain the java garbage collector