Pregunta de entrevista de CGI

Difference between a for loop and while loop?