Control flow determines the order in which a computer executes statements in a script. It uses constructs like if/else statements, for loops, and while loops. If/else statements allow executing one statement if a condition is true, or an alternative statement if the condition is false. For loops repeat a statement a specific number of times, while while loops repeat a statement as long as a condition remains true.