Amazon interview question

What is an API in depth