What Is an API?

An API comes in when two programs have to share information. It makes sure that the receiving program can use what was sent, without getting into the sending program’s business.