FDM Group interview question

Difference between for and while loop?