Ecommerce, or internet commerce, encompasses various types of business transactions. The four main categories of ecommerce are Business to Business (B2B), Business to Customer (B2C), Customer to Business (C2B), and Customer to Customer (C2C).