An algorithm is like a step by step set of instructions for getting something done. It's like a cooking recipe—it tells you what you need to do and in what order you should do it. For example, if you wanted to bake a cake, you would use an algorithm that tells you what ingredients you need, how much of each ingredient you need, what temperature to bake it at, and how long to bake it.