An API (Application Program Interface) is a way for an application to interact with a certain system/application/library/etc. There are APIs for OS (eg, WinAPI), APIs for other applications (like databases), and for specific libraries (eg, image processing), etc.