An IP (Internet Protocol) address is a string of four sets of numbers that identify a device on a private or public network. IP addresses allow devices to communicate with each other and exchange information. There are two types of IP addresses, public and private.
Public IPs are internet-facing IPs allocated by IANA and then assigned to you by the ISP, for example, 18.104.22.168. Private IP addresses are assigned by your router to be used in the internal network, for example, 192.168.1.7. These IPs are not visible from public networks.