Using APIs and web services we can let any two (or more) systems talk the same language.
API and Web Services allow your business to expose a functionality of your existing code over the intranet/internet. Once done, other applications can use it.
Web services allow various applications to talk to each other and share data and services among themselves.