What is the difference between software and data?

Software is an application in your system or OS. A data is files. However, an application is also saved in a data. That's why there is a setup root folder.