Pregunta de entrevista de Infineon Technologies

What are generators in Python?