The router shares a single internet connection to the devices in your home. Your Internet provider generally applies the IP address to the first device connected to the modem/ONT — which is the router. The IP address is essentially your Internet street address.
This means the router is the only device that can send and receive data outside the home. The router then assigns a unique internal address to each Internet-capable device you connect.