Gmware Interview Question

What is generator in Python?