It transmits data in serial format. It has only 2 pins/terminals/ports, one for transmitting and another one for receiving. Transmitting pin is denoted by Tx and the receiving pin is denoted by Rx.
Two UART devices communicate directly with each other, first’s device’s Tx is connected with second’s Rx and vice versa, as shown in figure below.