Commerce developed as a result of specialization.
Specialization means that individuals or groups focus on producing certain goods or services, rather than trying to produce everything they need on their own. When people specialize, they become more efficient at what they do, which leads to increased productivity and output.
This increased productivity creates a surplus of goods that can be traded with others. The exchange of goods and services between individuals or groups is known as commerce.
As specialization increases and trade becomes more frequent, competition and speculation may arise, which further fuel the development of commerce. Importation and exportation are also important components of commerce, as they allow goods and services to be traded across borders, expanding markets and opportunities for trade.