A port is a socket at the back of a computer used to plug-in various devices. Personal computers have various types of ports.
Types of ports:
There are two types of port
A port or interface that can be used for serial communication, in which only 1 bit is transmitted at a time, is called serial port. A serial port, also called a male connector, has 9 or 25 pins.
A socket on a computer for transmitting data in parallel, which means more than one bit at a time, is called parallel port. There may be 8, 16, or 32 channels (wires); each channel carries one bit of information. A parallel port also called a female connector, has 25 holes.