X Interview Question

Explain what is an API.