An algorithms is a set of rules or instructions that are to be followed to carry out a task.
They are often used by computers to set out the steps that they should follow in a given situation.
See wikipedias explanation of algorithms.
Any process that is used to carry out a task can be considered an algorithm.
Common ways of displaying algorithms are: