Algorithm

An algorithm is a series of steps a computer follows to solve a problem or complete a task, such as sorting data or finding the shortest route on a map.