What is an API? Explained with Real-time examples