What Is an API and How Does It Work