Commerce refers to the buying and selling of goods and services, while e-commerce involves commerce conducted electronically online. A brief history shows that e-commerce has grown significantly from early online shopping in the 1990s to today's widespread use of the internet for business transactions of all types. The main types of e-commerce are business to business, business to consumer, consumer to consumer, and mobile commerce.