Universal Asynchronous Receiver-Transmitter is a peripheral used for asynchronous serial communication. Most modern…