A set of runtime routines or system calls that allows an application program to use a particular service provided by either the operating system or another application program.