Electronic commerce, or e-commerce, refers to the buying and selling of goods or services using the internet, as well as the transfer of money and data to execute these transactions. It has revolutionized the retail industry by providing a global marketplace that operates 24/7, offering convenience and a wider selection of products to consumers.