What is an API and how does it work? (In plain English)