A payment gateway allows you to take credit card payments on your website or online, but they do NOT actually process the payment, or the exchanging of money, unless they are also a “merchant“.

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