Software and Database.
These two words always go hand in hand. Yet i perceive there are major differences.Could some one point out for me the differences and when should some one use either word.

for example, i perceive that some one can develop an application that can simply show data that is processed directly from code. Most probably in a mathematical algorithm without storing it any where. I perceive this example as a software and not a database application. Some one correct me if i am wrong.