KAYAK Interview Question

What is Generator Function?