Backbase interview question

What does an API gateway do?