In general, an API acts like an interface, enabling interaction between two or more software applications. An API accepts requests from users, processes those requests, and responds with a solution. The request and response are usually formatted in a specific manner so that the applications are able to understand and parse the data.
If you are interested in learning more about API then check out this video offered by Intellipaat. Upon watching this video you will get better understanding of what is API, about its working, uses and benefits -