RWE Interview Question

Can you explain what an API does?