Google interview question

How is memory handled in Python? How does a garbage collector work?