An algorithm is simply a set of steps used to complete a specific task.
They're the building blocks for programming, and they allow things like computers, smartphones, and websites to function and make decisions. In addition to being used by technology, a lot of things we do on a daily basis are similar to algorithms.
Reference: https://edu.gcfglobal.org/en/computer-science/algorithms/1/
A flowchart can be used to plan the design before writing the Algorithm.
Example
Algorithm:
Start
Fill the kettle with water
Heat the water
If the water has boiled then make tea or else keep heating
stop
Examples of Algorithms in everyday life
Algorithm to find the total of 2 numbers