Pergunta de entrevista da empresa Canonical

Yield vs return, what are generators?