Software is a set of instructions, written in computer code, that tells a computer how to behave or how to perform a specific task.