Datto interview question

What is an API and how is it used?