An algorithm is a set of specific instructions that a computer carries out to achieve a desired output. For Bitcoin the desired outcome is the checksum of a cryptographic block that is submitted back to the Bitcoin Network to confirm transactions.
Malone, J.A (2015). Glossary of Bitcoin Terms and Definitions. United States: Lulu Press, Inc