What is Bash while loop?

The while is used to execute one or more commands (statements) until the given condition is True. As the condition becomes false, the execution moves to the next line of code outside of the while loop.