E-commerce is the act of trade carried out across electronic systems whereas OS-commerce is an open-source software program that can be used for the act of trade.
osCommerce is a product in the category of e-commerce solutions. It's a free and open-source product. It allows you to provide your online customers with product listings, shopping cart, check-out,etc.