A payment gateway is a platform or other type of service for processing payments between different parties in online commerce, as well as in digital currencies.
Payment gateways are therefore primarily created by payment service providers such as PayPal, Klarna or Visa. When it comes to cryptocurrencies, you will mainly find so-called fiat gateways on exchanges (crypto exchanges) in order to buy cryptocurrencies with euros, Swiss francs or US dollars.