Control flow is used to change the order of execution
Control flow refers to the sequence in which the instructions or statements in a program are executed.
Various programming constructs and control flow mechanisms such as loops, conditional statements (if-else, switch), functions, and jumps (like goto statements in some languages, though its use is discouraged) can alter the natural flow of execution, allowing for different paths or iterations within a program, thus changing the order in which instructions are executed.