E-commerce (electronic commerce) refers to the buying and selling of goods and services over the internet. It encompasses a wide range of online business activities, including online retail (B2C), business-to-business (B2B), and the sale of digital products and services.