Pergunta de entrevista da empresa CodeClouds

what is API? why would you want to use it?