ip – Do modems have public address?

I know for a fact that when we are connected to wifi and we search something in the internet, the server we are requesting from will return the files to our IP address and this IP address is the public IP address which is the Ip address of the modem (or at least that’s what I thought so).
But I just came across another article according to which modems being nodes do not have any IP address.
So what is the ip address that the server sees when we send a request.