Concept Flow - FOREACH for array iteration
Start FOREACH loop
Pick next element from array
Execute loop body with element
More elements?
Yes→Pick next element
No
End loop
The FOREACH loop picks each element from the array one by one and runs the loop body with that element until all elements are processed.