Infineon Technologies Interview Question

What are generators in Python?