ELI5: Explain Like I'm 5

control flow

Control flow means the order in which instructions (commands) in a program are executed. Imagine it like a little robot that follows the instructions you give it and the order you give them in. For example, when you set your alarms in the morning, the robot in your phone knows to first start playing music, then turn on the light, then remind you to brush your teeth. Control flow makes sure things happen in the right order.