Do not confuse Proprietary software with commercial software. A company can be making money from Free software, which is thus commercial. On the other hand, non-commercial software may still be Proprietary: this is called freeware (not to be confused with FreeSoftware).
Proprietary software leaves you at the mercy of its vendor regarding support and the pricing thereof, availability and cost of upgrades and so on.
Of course, not only software can be Free, hence the opposite also applies more generally. MicrosoftOffice file formats, for example, do not follow open standards and are undocumented; thus, they too are Proprietary.