TCP port 995 is used by POP3S, meaning POP3 with implicit TLS.
A port is a transport layer number used together with an IP address and a protocol such as TCP or UDP to direct traffic to the correct service on a host.
A server process binds a socket to a port and listens, while a client typically chooses an ephemeral source port for outbound connections.
The combination of source and destination IP addresses, source and destination ports, and the transport protocol uniquely identifies a flow so the operating system can keep many conversations separate.
Firewalls, NAT, and scanners talk about ports because the destination port is the stable rendezvous point that exposes a service to the network.
A server listens on 995 and the client establishes a TCP session, then a TLS session, before authenticating.
After that, the client lists and retrieves messages, typically downloading them to local storage rather than keeping server side state synchronized like IMAP.
That model is why POP is still used for simple setups and legacy clients, but it also means retention and incident response depend on where mail is stored and backed up.
Security wise, POP3S removes cleartext credentials on the wire, but weak passwords, lack of MFA, and exposed services still make port 995 a common target for credential attacks.