A program is a set of instructions that tells a computer how to perform specific tasks. It consists of coded commands that the computer interprets and executes to achieve desired outcomes. Programs can range from simple scripts to complex applications, enabling various functionalities within the computer system.