Application Programming Interfaces allow computers running different software to talk to each other and share information, e.g. the Twitter API lets you send and receive data (tweets, feeds, etc) between your web-app and twitter.com.