E-commerce is the buying and selling of goods online. By optimizing e-commerce as part of a broader digital commerce transformation, sellers stand to attract more customers and earn more profits.