Ports are used to identify specific applications running on a host. For example, a web server uses the port 80. Here you have more info about ports: http
/geek-university.com/ccna/tcp-and-udp-ports/
To find out ports used by your system, open Command prompt and run the netstat -an command.