Electronic commerce, commonly known as e-commerce, consists of buying and selling products or services over electronic systems like the Internet. It has grown significantly with widespread Internet usage and innovations in areas like online payment processing and supply chain management. There are two main types: business-to-business (B2B) commerce between companies, and business-to-consumer (B2C) commerce between companies and individuals. In the late 1990s, many Internet-based companies emerged but then failed in the "dot-com bubble," demonstrating the risks of online businesses. Successful e-commerce companies now take a long-term, relationship-building approach with customers to encourage loyalty.