There are three main types of e-commerce: business-to-business (websites such as Shopify), business-to-consumer (websites such as Amazon), and consumer-to-consumer (websites such as eBay).
E-commerce (electronic commerce) is the buying and selling of goods and services, or the transmitting of funds or data, over an electronic network, primarily the internet.