Bluecore interview question

Explain what an API does.