API Integration in React Native

What is the purpose of handling responses in API integration?