The term “cloud” refers to a network of remote servers used for data storage, management, and processing. An API (Application Programming Interface) is a set of protocols and standards that allow different software applications to communicate with one another.
When you store your photos on Google Drive, for example, you are utilizing the cloud. The data is saved on remote servers, which you can access from any internet-connected device.
Your phone’s weather app uses an API to retrieve current weather data for your location and display it on the app.