Before talking about IP addresses, we have to talk about networks.
When you log onto wifi, that's a local network, such as inside your house, or inside your school or office.
On the local network, each device (computer, phone, tablet, TV, etc.) must have a unique IP address. If 2 devices have the same IP address, bad things happen. Fortunately, most devices support a system called DHCP, which allows your wifi router to assign an IP address to a device, and prevents this problem. Yes it's possible to specify an IP address manually, but come on, what is this? 1990? Everyone just uses DHCP.
While most devices just have 1 IP address, your router has 2. One address is on your local network, and the other is on the internet. The router uses a system called Network Address Translation, or NAT, to keep track of what devices on the local network are making requests to the internet, and then directs responses from the internet to the correct device. In other words, it "routes" the traffic back and forth.
As far as the rest of the internet is concerned, "your" IP address is the IP address of your router. It is impossible to get the IP address of your device on your local network because the internet can only see your router - nothing behind it. Even if the internet knew the address of your device on your local network, it would be worthless because private network IP addresses are ignored by the internet. (they're non-routable.) In fact, it's quite possible that thousands of other computers around the world have the exact same private network IP address as you do right now - but since they're each on their own private network behind their own routers, you can't see theirs, just like they can't see yours.
It's actually possible to have multiple private networks. For instance my router's IP address facing "the internet" is another private IP address, because my ISP runs a private network for all its customers in my area, which then goes into a router which then goes out to the internet. So it sort of looks like this:
(my private home network)--[my router]--(ISP metropolitan network)---[ISP router]---(internet)
So when you look at "my IP address" you're getting the public internet IP address of my ISP's router, which is shared among thousands of other customers' routers, providing private networks to tens of thousands of individual devices.