Software tells a computer how to function. It is a general term used to refer to programs and scripts that run on PCs, mobile phones, tablets, laptops, etc. Software should not be confused with hardware, which is the physical component of a computer that does the work.