Computer software refers to a collection of programs, data, and instructions that tell a computer how to perform specific tasks or functions. It includes both system software (such as operating systems) and application software (such as word processors or video games).