An algorithm is a defined sequence of steps used to solve a problem or perform a computation. Algorithms are evaluated based on correctness, efficiency, and scalability. They form the foundation of all software and data processing. Example: A sorting algorithm arranging numbers in ascending order.