Software is a collection of instructions that enable the user to interact with a computer, its hardware, or perform tasks.