Can some one please explain why is there a While(True); at the end of this program?

Doesn't this explain it? They just want the code to run once, not keep repeating. This could also be accomplished by putting all that code in setup() rather than loop()