Electronic commerce involves the buying and selling of products and services via the Internet through business-to-business, business-to-consumer, and consumer-to-consumer transactions using technologies like electronic data interchange, electronic fund transfers, credit cards, and e-mail. It allows businesses to generate profits, expand to new markets, improve customer relationships, and cut costs while providing consumers the ability to communicate, search for information, buy products online, work remotely, play games, and download content.