API gateways are the front layer for APIs, acting as CDNs. Though they do not necessarily operate on edge servers like CDNs, their main function is to abstract the underlying API or service and provide a uniform access point to consumers. In addition to that, API gateways provide other associated value-added features like caching, security, management, content negotiation, and policy management.
This collection of features, stacked with other architecture components such as developer experience, enterprise integration, telemetry, ...