TeKnowledge interview question

What is an API? How would you use one?