There are four different types of IP addresses: public, private, static, and dynamic. While the public and private are indicative of the location of the network—private being used inside a network while the public is used outside of a network—static and dynamic indicate permanency
The one you are telling about is local ip for example
192.168.1.1 is the modem or router address, this address is given you by your router or modem it’s temporary, the main IP is assigned to you by the ISP provider, it can either be static or dynamic, static IP address means it won’t change it will be permanent while dynamic means it is changing IP address it is given to you by the ISP provider from a pool of IP.
The IP address 192.168. 0.1 is one of 17.9 million private addresses, and it’s used as the default router IP address for certain routers, including some models from Cisco, D-Link, LevelOne, Linksys, and many others.