API, known as application programming interface, enables software to interact with other softwares using a set of programmable instructions. In other words, API is used because programs can use each other’s functionality for communication purposes. For instance, one of a web application using your Google credentials to allow you login in to its application. Here application authentication is happening with third-party solution. This communication relies on some sort of API.