Kraken interview question

What is the difference between an iterator and a generator.