What are APIs, and Why are They Needed?