Software (SW), in its most general sense, is a set of instructions or programs instructing a computer to do specific tasks.
Software is a generic term used to describe computer programs that run on PCs, mobile phones, tablets, or other smart devices.
Software is often used to describe all the functional aspects of a computer that do not refer to its physical components (Hardware (H/W)). Scripts, applications, programs and a set of instructions are all terms typically used to describe Software.
Everything that “runs” on a computer, from an operating system, to a diagnostic tool, video game, or app can be defined as Software.