What are the two main types of software?

I'm not sure how easy this question is to answer; software as a whole is defined as a computer programme, but I guess you could seperate the operating system i.e Windows from applications/programmes such as Google Chrome and Microsoft Office.