Test interview question

What is api and how to test it