Pfizer interview question

what is an API used for?