processes in the operating system can occupy ports. those ports are connected to the stream of the internet like ports in the city are connected to the rivers, with ships carrying packages. and what is being carried over an internet connection are also IP packages! what a metaphor!