I am just starting out and I am having trouble understanding what an API is and what it's functions are.

I think it can be parameters or functions that make system calls to an OS but what else do they do?

Thanks.