A merchant processes a payment for you online when you sell something to a customer. A merchant is different than a payment gateway, but the same company might do both.

Stripe and Paypal are examples of companies that are both a payment gateway and a merchant in one company.