A computer program uses instructions written in a programming language to direct a computer's actions. Programming languages include symbols and codes that allow programmers to communicate with computers. There are hundreds of programming languages with different rules, and languages are often designed for specific purposes like business or web development. Programming languages can be categorized as either high-level or low-level based on whether they are machine-independent or machine-dependent.