An API is a set of routines, protocols, and tools that allow software programs to communicate with each other. APIs work by allowing developers to access public functions through documentation provided by API creators. The functions pass arguments to private functions that execute the necessary code to complete requests. APIs are useful because they allow functionality to be upgraded without code modifications, minimize changes when data structures change, provide common functionality, and are faster than system calls. APIs are important in cloud computing to integrate platforms and providers through service, application, infrastructure, and cross-platform APIs. Examples of widely used APIs include the Google Maps and Facebook Like APIs.