Pergunta de entrevista da empresa Jacobs

What is the difference between a list comprehension and a generator?