A computer program is fundamentally a sequence of instructions written in a programming language that tells the computer exactly what operations to perform. These instructions are executed in order (unless modified by control structures) to accomplish specific tasks.