Introduction
URLSession helps your app talk to the internet. It lets you get or send data from websites or servers.
When you want to download information like weather or news from the internet.
When you need to send data to a server, like uploading a photo or sending a message.
When your app needs to load images or files from a website.
When you want to connect to an online service to get user data.
When you want to update your app content without updating the app itself.