Why this matters
You have 40 microservices behind the scenes. A mobile client wanting to render a home screen shouldn't call 20 different hostnames, each with different auth, rate limits, and retry policies. An API gateway is the single door to the backend: it handles auth, rate limiting, routing, protocol translation, and request/response shaping — so each service can focus on its own logic.
It's part of the classic "one thing to rule them all" infra tier, alongside the load balancer.