Used to output values or text to the console.
Used iterate through all elements in an array or object.
The while loop executes a block of code while a boolean expression evaluates to true. It terminates as soon as the expression evaluates to false. The boolean expression is evaluated before each iteration.