A computer program is like a set of instructions that tells the computer what to do. It's like a recipe that tells the computer how to do a task, like making a cake. When you give the instructions to the computer, it follows the instructions like it's following a recipe. The instructions tell the computer what ingredients to use and in what order, just like a recipe.