KAYAK interview question

What is Generator Function?