Pregunta de entrevista de Highmark

What is the difference between a while loop and an if statement?