At the sending and receiving end of the transmission, TCP divides long transmissions into smaller data units and packages each into a frame called a segment.
When the size of the data unit received from the upper layer is too long for the network layer datagram or data link layer frame to handle, the transport protocol divides it into smaller usable blocks. The dividing process is called segmentation.