Pergunta de entrevista da empresa LMI

What is the difference between a for loop and a while loop?