An API (Application Program Interface) is a set of routines provided in libraries that extends a language's functionality.