A programmer is a professional who writes, modifies, and tests code that enables computers and software to function. They translate the needs of users or the designs of software engineers into instructions that a computer can understand and execute.