This is used to enable the computer to execute a particular piece of code as many times as required without increasing the complexity of the source code, making it easier to read and maintain
The "while" loop is a function built-in C language which allows you to loop certain piece of code until the criteria is met instead of retyping the code all over again.
For example, this is C#...