In essence, algorithms are simply a series of instructions that are followed, step by step, to do something useful or solve a problem. You could consider a cake recipe an algorithm for making a cake, for example.
In computing, algorithms provide computers with a successive guide to completing actions. They’re comprised of a precise list of instructions that outline exactly how to complete a task.
So, what is an algorithm? A good way to think of them is as mini instruction manuals telling computers how to complete a given task or manipulate given data.