If an IP address is like a building address for a mall, ports are like suite numbers of the different businesses inside the mall.
There are a few types of ports, but mostly you deal with tcp and udp. Tcp ports create a connection, udp is connectionless.