Think about a recipe card. It lists a few ingredients. Then it lists steps, done one after another, to make a specific dish. Code works the same way. The only difference is the "cook" is a computer, not a person.