A payment gateway is a technology or service that enables businesses to accept and process online payments from customers. It acts as a secure intermediary between the merchant (business) and the customer, facilitating the transfer of payment information and authorization.