CodeArray Interview Question

What are generators? How does yielding work?