There are four types of e-commerce:
Business to consumer (B2C): when a company or store sells items to consumers. For example, when you buy a sweater through the Target webpage.
Business to business (B2B): when the purchasing transaction is carried out between two companies. For example, a software firm sells an antivirus program to another company.
Consumer to consumer (C2C): when consumers sell goods to other consumers. For example, someone who sells jewelry on Etsy to other consumers.
Consumer to business (C2B): when users sell their product to businesses. For example, a freelance graphic designer that offers its designs to a company.