Your ISP (Internet provider, like Comcast) assigns each customer an IP address. That is your public IP.
However, if you create a local network, your router will assign IP addresses to each computer on the network and share that internet connection with all of your local computers.
So your entire network shares the same IP address externally to the outside world and appear as a single PC, but internally you all have different private IP addresses.