What is an API? and why is it so important?

What is an API? and why is it so important?

API or Application Programming Interface is a set of protocols allowing software and other applications to communicate.  Here’s an example: imagine you’re trying to use a new app or website, but it requires registering and filling up a long boring signup...