When an algorithm is written in the form of a programming language, it becomes a program. This means the abstract step-by-step procedure (algorithm) is translated into a language that a computer can execute directly, turning the algorithm into executable code known as a program.