Infineon Technologies interview question

What are generators in Python?