TCP port 21 is the classic FTP control port.
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.
An FTP server listens on port 21 for the control session where the client logs in and sends commands like list, change directory, and request a file transfer.
The control connection is not where file data normally travels.
When a transfer starts, FTP creates a second TCP connection for the actual data, either server initiated in active mode or client initiated to a server chosen port in passive mode.
That two channel design is the practical reason port 21 often shows up together with other ports in firewall rules.
From a security standpoint, an exposed FTP control port usually means credentials and file transfer behavior are reachable from the network, and that is an attractive target for brute force and misconfiguration.