Most private network are not connected directly to the Internet for security reason. The machine acting as the router between the public and private network is called the firewall. The firewall is a car component protecting the passenger from any fire in the engine.
The analogy with IP network come from the fact that the Internet is a "hot" place, sometime too hot. It is a good idea to limit the impact of the Internet on your private network.