A control-flow diagram is a way to show how different parts of a program fit together. It's like a map or a flowchart that shows how each step of the program or process is connected to the next. The boxes in the diagram are called symbols and show which steps come before or after each other. The arrows represent how each step connects to another. It's like a picture of how the program works.