An algorithm is a defined process that “solves a problem”. It takes an input and has an expected behavior that produces an output.