A compiler is a program that converts code into machine-readable instructions.