It's a set of functions and data structures that a Windows program can use to ask Windows to do something, like opening a file, displaying a message, etc.
Pretty much everything that a Windows program does involves calling various API functions.
Collectively, all the API functions that Windows makes available are called "The Windows API".