It comes from the Latin word "merx", which means "goods" or "wares".
The "merc" root is found in other words like:
* Merchant: a person who buys and sells goods.
* Mercenary: a soldier who fights for money.
* Commerce: the activity of buying and selling goods.